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 10, 2025
1 parent 3d575f1 commit 19029cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: developer-portal
description: An ArgoCD App of Apps for deploying the Developer Portal
type: application
version: 0.1.0
version: 0.1.1
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
Expand Down
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 19029cf

Please sign in to comment.