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
@mjnagel - per our convo, perhaps we ought to do [something similar to what is done with netpols](https://github.com/defenseunicorns/uds-core/blob/main/src/pepr/operator/controllers/network/policies.ts#L95) with generation
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:
the client is updated but secret name stays the same, secret is updated, no need to cleanup
Originally posted by @MxNxPx in #511 (comment)
The text was updated successfully, but these errors were encountered: