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
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
It is possible to delete a Program resource when it is still referenced by a Stack, this is problematic as the Stack then becomes stale and blocks further activities (like with argocd ApplicationSet). I think ideally the operator should support finalizers so it is prevented from out of order deletions.
Affected area/feature
The text was updated successfully, but these errors were encountered:
It is true that the Stack depends on the Program object as well as a ServiceAccount and possibly a ClusterRoleBinding. Note that a given program (or service account for that matter) might be used by numerous Stacks. It might make sense to apply a finalizer, if the finalizer name was based on the stack name.
As a workaround for the specific situation where the Program object is deleted prematurely, one should be able to re-create the object to unblock the Stack object.
In an Argo CD integration scenario, I would recommend using sync-waves to ensure the correct ordering of ServiceAccount, ClusterRoleBinding, Program, then Stack. Note that sync waves are also respected during deletion.
yeah, for this case i already added sync waves, but i would prefer the operator prevents such breaking situations at its own (by an finalizer as example)
Hello!
Issue details
It is possible to delete a Program resource when it is still referenced by a Stack, this is problematic as the Stack then becomes stale and blocks further activities (like with argocd ApplicationSet). I think ideally the operator should support finalizers so it is prevented from out of order deletions.
Affected area/feature
The text was updated successfully, but these errors were encountered: