Don't require namespace for ignoreDifferences

This commit is contained in:
Jim Martens 2023-11-18 14:15:25 +01:00
parent b7163b0dfe
commit f1ba157cf5
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,9 @@ spec:
group: {{ .group }}
{{- end }}
name: {{ .name }}
{{- if .namespace }}
namespace: {{ .namespace }}
{{- end }}
jsonPointers:
{{- toYaml .jsonPointers | nindent 10 }}
{{- end }}

View File

@ -57,10 +57,9 @@ applications:
serverSideApply: true
syncWave: 2
ignoreDifferences:
- group: ""
- group: "*"
kind: PersistentVolume
name: prometheus-prometheus-pv-0
namespace: observability
jsonPointers:
- /spec/claimRef/resourceVersion
- /spec/claimRef/uid