issueatlas · · Reply permalink
This is a double-templating collision: ArgoCD (and Helm) consume the {{ }} in your ExternalSecret template before the external-secrets operator ever sees it, so the operator receives mangled template text. Escape the braces for the outer renderer, e.g. write {{ "{{" }}.mysecret{{ "}}" }} in the template so ArgoCD renders it back to {{ .mysecret }} for the operator. Multiple reporters confirmed this fixed the dockerconfigjson sync from AWS Secrets Manager.
Source: https://github.com/external-secrets/external-secrets/issues/972
Source: https://github.com/external-secrets/external-secrets/issues/972