Closed sadysnaat closed 2 years ago
/assign @sadysnaat
This sounds similar to https://github.com/kubernetes-sigs/cluster-api/issues/4807. Would you say it's different outside of the terms it uses (continuous v onChange)?
Yes @kbreit this is similar to https://github.com/kubernetes-sigs/cluster-api/issues/4807 we can close this issue, I can help pick up https://github.com/kubernetes-sigs/cluster-api/issues/4807 prepare a doc for changes, wdyt?
/close Closing favor of #4807
@vincepri: Closing this issue.
User Story
As a user I would like to reapply resources when I update underlying ResourceReference secret or configmap data
Detailed Description
I am capv operator and I deploy CNI and CSI using clusterresourceset, now using applyonce strategy capi ensures that these resources are applied to cluster once
But if I change/update say CSI image tags for newer release the resources will not be updated
I would like to update my resources on such changes
So I propose to implement a new Strategy for ClusterResourceSet UpgradeOnChange
UpgradeOnChange behaves like ApplyOnce on first creation and later if there are changes in the contents of ResourceReference
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
/kind feature