Open mjnagel opened 2 days ago
Updating with more context...
Currently we generate a secret as part of the sso
flow in the operator. My current understanding is that if someone changed the secretName
we would not be cleaning up the previous secret. To handle this we can probably add the generation label and filter to delete orphaned secrets similar to what we do for network policies.
For other cases:
Specific behavior we can mimic here (links for network policies):
_Originally posted by @MxNxPx in https://github.com/defenseunicorns/uds-core/pull/511#discussion_r1662846086_