Force an ExternalSecret refresh
Start a sync right now by updating an annotation
kubectl annotate externalsecret mysecret force-sync=$(date +%s) --overwrite
- tool
- external-secrets9 commands
- tags
- external-secrets
More external-secrets commands
-
kubectl get externalsecret mysecret -o jsonpath='{.status.conditions[*]}'Show the sync conditions: Ready, SecretSynced
-
kubectl get externalsecret mysecret -o yaml | grep -A10 'template:'Check how values are templated in the ExternalSecret spec
-
kubectl get externalsecrets -A -o custom-columns='NS:.metadata.namespace,NAME:.metadata.name,STORE:.spec.secretStoreRef.name,READY:.status.conditions[0].status'Show a compact table of all ExternalSecrets with their store and sync state
-
kubectl describe externalsecret <name> -n <ns>Show the sync status, last sync time and the error if the sync failed
-
kubectl get externalsecret -AShow all ESO ExternalSecrets and their Ready status