Check ExternalSecret sync status

View sync conditions: Ready, SecretSynced

kubectl get externalsecret mysecret -o jsonpath='{.status.conditions[*]}'

tool
external-secrets9 commands
tags
external-secretsdebug

More external-secrets commands

  • kubectl get externalsecret mysecret -o yaml | grep -A10 'template:'

    Inspect value templating in ExternalSecret spec

  • kubectl get externalsecrets -A -o custom-columns='NS:.metadata.namespace,NAME:.metadata.name,STORE:.spec.secretStoreRef.name,READY:.status.conditions[0].status'

    Compact table of all ExternalSecrets with sync state

  • kubectl describe externalsecret <name> -n <ns>

    Show sync status, last sync time, and error message if failed

  • kubectl get externalsecret -A

    See all ESO ExternalSecrets and their Ready status

  • kubectl annotate externalsecret <name> -n <ns> force-sync=$(date +%s) --overwrite

    Trigger immediate re-sync by updating annotation

all 9 external-secrets commands