Details
-
Task
-
Resolution: Won't Do
-
Minor
-
None
-
None
-
None
-
False
-
None
-
False
-
Sprint 51, Sprint 52, Sprint 53, Sprint 54, Sprint 55, Sprint 56, Sprint 57
Description
Currently, there is no way to customize resources that the operator creates from an SMCP. In the future, the operator will use server-side apply to allow users to customize parts of these resource. Until then, we need a simple solution that allows users to customize resources and not have the operator revert those customizations every time the SMCP spec is updated.
In this task, we'll allow the user to mark a resource as externally-managed. This will tell the operator not to update the resource.
To enable this feature, the user must:
- set SMCP.spec.techPreview.externallyManagedResources to true
- set the label app.kubernetes.io/managed-by=external on the resource they want to manage manually
The user is then responsible for keeping the resource in sync with the SMCP spec, but is free to modify the resource however they want.