Skip to content

Commit

Permalink
Enhance doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmabadr committed Oct 15, 2024
1 parent 130ffb8 commit a6c0461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/contributor/02-controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This allows the use of ModuleTemplate CRs in a cluster managed by Lifecycle Mana

### Fetching the ModuleTemplate

The Kyma Controller uses the ModuleReleaseMeta CR to fetch the correct ModuleTemplate CR for a module. The ModuleReleaseMeta should have the name of the module. The Kyma Controller uses the channel defined in the Kyma.Spec to fetch the corresponding module version from the ModuleReleaseMeta channel-version pairs. If there is no entry with the channel defined in Kyma.Spec, an error will be thrown. The Kyma Controller then fetches the ModuleTemplate which has the name of modulename-version from the ModuleTemplate CRs available in the Kyma Control Plane.
Kyma Controller uses the ModuleReleaseMeta CR to fetch the correct ModuleTemplate CR for a module. The ModuleReleaseMeta should have the name of the module. Kyma Controller uses the channel defined in the Kyma CR spec to fetch the corresponding module version from the ModuleReleaseMeta channel-version pairs. If there is no entry in the ModuleReleaseMeta CR for the channel defined in the Kyma CR spec, an error occurs. Kyma Controller then fetches the ModuleTemplate which has the name of modulename-version from the ModuleTemplate CRs available in the Kyma Control Plane.

If a ModuleReleaseMeta CR for a particular module doesn't exist, Kyma Controller lists all the ModuleTemplates in the Control Plane and then filters them using the **.spec.channel** parameter in the Kyma CR.

Expand Down

0 comments on commit a6c0461

Please sign in to comment.