You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to make Kyma Module as OCM component compatible with ocm-controller, the default-cr and raw-manifest resources in Kyma Module should be defined as application/x-tar mediaType (as Directory).
Currently KLM is possible to parsing raw-manifest as application/octet-stream mediaType (as file), however it is not possible to deploy by ocm-controller.
Manifest Controller: KLM is able to deploy raw-manifest resource from access mediaType application/x-tar and application/octet-stream (for backward compatibility)
(❌ ) Kyma Controller: Add that KLM is able to deploy default-cr resource from access mediaType application/x-tar and moduletemplate.spec.data (for backward compatibility) during Manifest CR creation
Default CR keep in ModuleTemplate moduletemplate.spec.data, so that KLM is able to deploy it directly, but not read from default-cr layer.
The text was updated successfully, but these errors were encountered:
ruanxin
changed the title
Make KLM support Directory for raw-manifest and default-cr resource
Make KLM support application/x-tar as access mediaType for raw-manifest and default-cr resource
Jul 1, 2024
jeremyharisch
changed the title
Make KLM support application/x-tar as access mediaType for raw-manifest and default-cr resource
[Deletion Modes] Make KLM support application/x-tar as access mediaType for raw-manifest and default-cr resource
Jul 4, 2024
In order to make Kyma Module as OCM component compatible with ocm-controller, the
default-cr
andraw-manifest
resources in Kyma Module should be defined asapplication/x-tar
mediaType (as Directory).Currently KLM is possible to parsing
raw-manifest
asapplication/octet-stream
mediaType (as file), however it is not possible to deploy by ocm-controller.lifecycle-manager/tests/moduletemplates/moduletemplate_template_operator_v2_fast.yaml
Lines 34 to 48 in a0c4943
new kyma module ocm component looks like below:
AC
raw-manifest
resource from access mediaTypeapplication/x-tar
andapplication/octet-stream
(for backward compatibility)default-cr
resource from access mediaTypeapplication/x-tar
andmoduletemplate.spec.data
(for backward compatibility) during Manifest CR creationlifecycle-manager/tests/integration/controller/manifest/manifest_controller_test.go
Line 17 in 93a3385
AC updated:
moduletemplate.spec.data
, so that KLM is able to deploy it directly, but not read fromdefault-cr
layer.The text was updated successfully, but these errors were encountered: