mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-18 00:56:51 +02:00
Ignore resourceVersion and uid for pv of prometheus
This commit is contained in:
@@ -10,6 +10,17 @@ metadata:
|
|||||||
finalizers:
|
finalizers:
|
||||||
- resources-finalizer.argocd.argoproj.io
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .ignoreDifferences }}
|
||||||
|
ignoreDifferences:
|
||||||
|
{{- range .ignoreDifferences }}
|
||||||
|
- group: {{ .group }}
|
||||||
|
kind: {{ .kind }}
|
||||||
|
name: {{ .name }}
|
||||||
|
namespace: {{ .namespace }}
|
||||||
|
jsonPointers:
|
||||||
|
{{- toYaml .jsonPointers . | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
{{- if .serverSideApply }}
|
{{- if .serverSideApply }}
|
||||||
syncOptions:
|
syncOptions:
|
||||||
|
|||||||
@@ -56,6 +56,14 @@ applications:
|
|||||||
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
|
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
|
||||||
serverSideApply: true
|
serverSideApply: true
|
||||||
syncWave: 2
|
syncWave: 2
|
||||||
|
ignoreDifferences:
|
||||||
|
- group: ""
|
||||||
|
kind: PersistentVolume
|
||||||
|
name: prometheus-prometheus-pv-0
|
||||||
|
namespace: observability
|
||||||
|
jsonPointers:
|
||||||
|
- /spec/claimRef/resourceVersion
|
||||||
|
- /spec/claimRef/uid
|
||||||
- name: prometheus-adapter
|
- name: prometheus-adapter
|
||||||
project: default
|
project: default
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
|
|||||||
Reference in New Issue
Block a user