mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Don't require namespace for ignoreDifferences
This commit is contained in:
@@ -18,7 +18,9 @@ spec:
|
|||||||
group: {{ .group }}
|
group: {{ .group }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ .name }}
|
name: {{ .name }}
|
||||||
|
{{- if .namespace }}
|
||||||
namespace: {{ .namespace }}
|
namespace: {{ .namespace }}
|
||||||
|
{{- end }}
|
||||||
jsonPointers:
|
jsonPointers:
|
||||||
{{- toYaml .jsonPointers | nindent 10 }}
|
{{- toYaml .jsonPointers | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -57,10 +57,9 @@ applications:
|
|||||||
serverSideApply: true
|
serverSideApply: true
|
||||||
syncWave: 2
|
syncWave: 2
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- group: ""
|
- group: "*"
|
||||||
kind: PersistentVolume
|
kind: PersistentVolume
|
||||||
name: prometheus-prometheus-pv-0
|
name: prometheus-prometheus-pv-0
|
||||||
namespace: observability
|
|
||||||
jsonPointers:
|
jsonPointers:
|
||||||
- /spec/claimRef/resourceVersion
|
- /spec/claimRef/resourceVersion
|
||||||
- /spec/claimRef/uid
|
- /spec/claimRef/uid
|
||||||
|
|||||||
Reference in New Issue
Block a user