Skip to content

Commit

Permalink
Ignore differences in password secret when deploying postgres argocd app
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 9, 2025
1 parent 11d155a commit 31db4cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/apps/templates/postgres-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ spec:
name: {{ .Values.destination.name }}
server: {{ .Values.destination.server }}
namespace: {{ default .Release.Namespace .Values.destination.namespace }}
ignoreDifferences:
- kind: Secret
name: {{ include "common.names.fullname" $ }}-postgresq
namespace: {{ default .Release.Namespace .Values.destination.namespace }}
jqPathExpressions:
- .data.password
- .data."postgres-password"
syncPolicy:
automated:
prune: true
Expand Down

0 comments on commit 31db4cf

Please sign in to comment.