How to manage default CR from OCM #2759
Replies: 6 comments 2 replies
-
|
For Option2, the enhanced Manifest CR could be: |
Beta Was this translation helpful? Give feedback.
-
|
+1 for option 2(B) |
Beta Was this translation helpful? Give feedback.
-
T0spec:
install:
... # raw manifestT1Lifecycle-manager reconciles the manifest regularly, and will write the spec:
install:
... # raw manifest
ocmResources:
- ... # raw manifest
- ... # module CRT2spec:
ocmResources
- ... # raw manifest
- ... # module CR |
Beta Was this translation helpful? Give feedback.
-
|
v1beta2 spec:
install:
... # raw manifest
ocmResources (optional):
- ... # raw manifest
- ... # module CRv1beta3 spec:
ocmResources (required):
- ... # raw manifest
- ... # module CRnewly created Manifest CR (v1beta3): spec:
ocmResources (required):
- ... # raw manifest
- ... # module CRexisting manifest CR (v1beta2): spec:
install:
... # raw manifest
ocmResources (optional):
- ... # raw manifest (added by conversion webhook)
- ... # module CR |
Beta Was this translation helpful? Give feedback.
-
|
To sum up after the discussion on 07.10.2025:
|
Beta Was this translation helpful? Give feedback.
-
|
Why our current approach is blocked: In the restricted markets Canary, we don't have ca injection feature for the conversion webhook to work properly. Feature Request |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the current manifest controller, reconciling the default CR is simple: the resource comes directly from moduletemplate.spec.data and is placed into manifest.spec.resource.
With the new approach, however, the default CR is stored as an OCM resource. This requires an additional process: download, cache, parse, and then apply it to the SKR.
Example OCM resource entry:
Option A: Keep
spec.resourceOption B: Introduce new
spec.moduleCRInstead of reusing
spec.resource, we define a dedicated field (similar to spec.install) that only describes the OCM resource metadata.Example:
if we decided go this approach, the structure should be designed much better.
Process with spec.moduleCR
This approach cleanly separates responsibilities:
Beta Was this translation helpful? Give feedback.
All reactions