-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decouple ModuleTemplates from Channels #1815
Comments
Feedback in arch round today was to group by module. A full list may be to cumbersome to work with in the module repo. |
Context Proposal
Open Points
|
Thanks for the write up. Only minor comments at this point in time
|
Summary from refinement 2024-09-09:
Proposal:
apiVersion: operator.kyma-project.io/v1beta2
kind: ModuleReleaseMeta
metadata:
name: eventing
spec:
moduleName: eventing
channels:
- channel: regular
version: 1.0.0
- channel: fast
version: 1.1.0
- channel: experimental
version: 2.0.0
## future
versions:
- version: 0.0.9
deprecationDate: 2024-09-09
deprecationMessage: v0.0.9 has been deprecated, use a newer version instead
- version: 1.0.0
- version: 1.1.0 |
Follow-Up Issues:
|
Context
Side quest from: #1681
It has been requested to decouple ModuleTemplates from channels. ModuleTemplates will always define concrete versions of a module. Those version are created once and never changed. The assignment of these module versions to channels shall happen at a different place.
It is proposed that an additional CR will be introduced that maps a given module version to a channel.
Questions to be clarified:
Goals: align on above questions so we can feed this back to #1681
Decision
To be proposed
Consequences
To be proposed
Attachments
Given ModuleTemplates like
And Module Status in KymaCR like
And ModuleChannel CR like
We could change the watch for ModuleTemplates roughly as follows:
In addition, Kyma reconciliation could be changed so that instead of looking up module templates directly, it must first lookup the ModuleChannel CR, from there determine the module version currently assigned to the channel, and with that fetch the correct module template.
The text was updated successfully, but these errors were encountered: