-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
StaleThis issue/Pull Request is stale and will be automatically closedThis issue/Pull Request is stale and will be automatically closedarea/lifecycleIndicates an issue related to the lifecycle of secretsIndicates an issue related to the lifecycle of secretsgood first issueGood for newcomersGood for newcomerskind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Describe the solution you'd like
Trigger a refresh of all external secrets managed by a ClusterExternalSecret
What is the added value?
Secret refreshing will make internal secrets up to date with cluster external secrets
Give us examples of the outcome
kubectl annotate ces my-es force-sync=$(date +%s) --overwrite would trigger a refresh of all secrets managed by that ces.
Observations (Constraints, Context, etc):
This can be worked around by iterating over the namespaces that the ClusterExternalSecret manages but it is awkward, for example:
NAMESPACES=$(kubectl get ns -l global-secrets=true | tail -n+2 | awk '{print $1}'); for NAMESPACE in $NAMESPACES; do kubectl annotate es my-secret -n $NAMESPACE force-sync=$(date +%s) --overwrite ; done
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
StaleThis issue/Pull Request is stale and will be automatically closedThis issue/Pull Request is stale and will be automatically closedarea/lifecycleIndicates an issue related to the lifecycle of secretsIndicates an issue related to the lifecycle of secretsgood first issueGood for newcomersGood for newcomerskind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Type
Projects
Status
Done