fix(argocd): label argocd-oidc-secret so Argo CD reads its keys (DEV-523)
Argo CD only substitutes $secret:key references from Secrets carrying the label app.kubernetes.io/part-of: argocd. Without it, the server logs "secret key does not exist in secret" and renders placeholders verbatim into the OIDC redirect URL. Adding the label to the SealedSecret template ensures sealed-secrets- controller re-produces the Secret with the label on every restore, so OIDC keeps working after DR / re-seal. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
2cf6c65d23
commit
f5a0982222
1 changed files with 2 additions and 0 deletions
|
|
@ -16,4 +16,6 @@ spec:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: argocd-oidc-secret
|
name: argocd-oidc-secret
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/part-of: argocd
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue