-
Story
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
Open Data Hub Sprint 6, Open Data Hub Sprint 7, Open Data Hub Sprint 8, Open Data Hub Sprint 9, Open Data Hub Sprint 10, Open Data Hub Sprint 11, Open Data Hub Sprint 12, Open Data Hub Sprint 13, Open Data Hub Sprint 14, Open Data Hub Sprint 15
-
3
There are resources that need to be updated by some of the components which are also managed by operator, which would result in the resources being overwritten on reconcilation.
We would like to have a way to specify that these specific resources should not be reconciled once edited manually or by another operator/job
Implement a set of labels to control the operator behaviour to cover basic and corner use cases
- Mark the resources which are allowed to be modified by a configurable label (ODH devs)
opendatahub.io/configurable: true - If a user or a component need to modify a resource add a modified label (user or component)
opendatahub.io/modified: true - If the resource has been updated and the update needs to be performed add a needs-update label (ODH devs)
opendatahub.io/needs-update: true
Other thoughts:
- Operator could add opendatahub.io/modified: false by default if a resource has configurable label and modified is not set
Describe alternatives you've considered
Manage configurable resources outside of the operator and deploy them by init container or a job. The problem with that is that if the resource gets deleted, there is no automatic way to get it back other than manually triggerring the job.
- blocks
-
RHODS-968 Add 'opendatahub.io/configurable=true' label to the resources.
- Backlog