diff --git a/charts/services/core-services/vault/templates/pv.yaml b/charts/services/core-services/vault/templates/pv.yaml index 4d01abc2..be643688 100644 --- a/charts/services/core-services/vault/templates/pv.yaml +++ b/charts/services/core-services/vault/templates/pv.yaml @@ -11,5 +11,5 @@ spec: accessModes: - ReadWriteOnce hostPath: - path: /home/flow/appdata/core-services/vault/data + path: REPLACE_ME type: DirectoryOrCreate \ No newline at end of file diff --git a/charts/stack-apps/core-services/templates/vault.yaml b/charts/stack-apps/core-services/templates/vault.yaml index 91fa1e91..927f752a 100644 --- a/charts/stack-apps/core-services/templates/vault.yaml +++ b/charts/stack-apps/core-services/templates/vault.yaml @@ -16,6 +16,13 @@ spec: {{- tpl (include "yamlParseRec" (dict "yaml" .Values )) . | indent 8 }} project: {{ .Values.project }} syncPolicy: + syncOptions: + - RespectIgnoreDifferences=true automated: prune: {{ .Values.syncPolicy.automated.prune }} - selfHeal: {{ .Values.syncPolicy.automated.selfHeal }} \ No newline at end of file + selfHeal: {{ .Values.syncPolicy.automated.selfHeal }} + ignoreDifferences: + - kind: PersistentVolume + name: data-vault-pv + jsonPointers: + - /spec/hostPath/path \ No newline at end of file