-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ClusterExternalSecret not remote externalSecret if namespace lost label #1255
Copy link
Copy link
Closed
Labels
area/lifecycleIndicates an issue related to the lifecycle of secretsIndicates an issue related to the lifecycle of secretstriage/needs-informationIndicates an issue needs more information in order to work on it.Indicates an issue needs more information in order to work on it.
Description
steps to reproduce:
- set on namespace label
- create ClusterExternalSecret
- wait before secret synced at selected namespace
- remove label from namespace
after that k8s secret and external secret still exists in namespace and ClusterExternalSecret in status i see:
Status:
Conditions:
Status: True
Type: Ready
Message: one or more namespaces failed
Status: True
Type: NotReady
Failed Namespaces:
Namespace: test
Reason: external secret in non matching namespace could not be deleted
Is it a bug or i need manual remove externalsecret from namespace after remove label?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/lifecycleIndicates an issue related to the lifecycle of secretsIndicates an issue related to the lifecycle of secretstriage/needs-informationIndicates an issue needs more information in order to work on it.Indicates an issue needs more information in order to work on it.