File tree Expand file tree Collapse file tree 19 files changed +69
-16
lines changed
distros/kubernetes/nvsentinel/charts
csp-health-monitor/templates
fault-quarantine/templates
fault-remediation/templates
health-events-analyzer/templates
incluster-file-server/templates
janitor-provider/templates
kubernetes-object-monitor/templates Expand file tree Collapse file tree 19 files changed +69
-16
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ metadata:
1717 name : {{ include "csp-health-monitor.fullname" . }}
1818 labels :
1919 {{- include "csp-health-monitor.labels" . | nindent 4 }}
20+ annotations :
21+ argocd.argoproj.io/sync-wave : " -1"
2022data :
2123 config.toml : |
2224 # Global settings
Original file line number Diff line number Diff line change @@ -17,17 +17,21 @@ metadata:
1717 name : {{ include "csp-health-monitor.fullname" . }}
1818 labels :
1919 {{- include "csp-health-monitor.labels" . | nindent 4 }}
20+ annotations :
21+ argocd.argoproj.io/sync-wave : " 0"
2022spec :
2123 replicas : {{ .Values.replicaCount }}
2224 selector :
2325 matchLabels :
2426 {{- include "csp-health-monitor.selectorLabels" . | nindent 6 }}
2527 template :
2628 metadata :
27- {{- with ((.Values.global).podAnnotations | default .Values.podAnnotations) }}
2829 annotations :
30+ # Force pod restart when configmap changes
31+ checksum/config : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
32+ {{- with ((.Values.global).podAnnotations | default .Values.podAnnotations) }}
2933 {{- toYaml . | nindent 8 }}
30- {{- end }}
34+ {{- end }}
3135 labels :
3236 {{- include "csp-health-monitor.selectorLabels" . | nindent 8 }}
3337 spec :
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ metadata:
1818 name : {{ include "event-exporter.fullname" . }}
1919 labels :
2020 {{- include "event-exporter.labels" . | nindent 4 }}
21+ annotations :
22+ argocd.argoproj.io/sync-wave : " -1"
2123data :
2224 config.toml : |
2325 [exporter.metadata]
Original file line number Diff line number Diff line change @@ -18,17 +18,21 @@ metadata:
1818 name : {{ include "event-exporter.fullname" . }}
1919 labels :
2020 {{- include "event-exporter.labels" . | nindent 4 }}
21+ annotations :
22+ argocd.argoproj.io/sync-wave : " 0"
2123spec :
2224 replicas : {{ .Values.replicaCount }}
2325 selector :
2426 matchLabels :
2527 {{- include "event-exporter.selectorLabels" . | nindent 6 }}
2628 template :
2729 metadata :
28- {{- with .Values.podAnnotations }}
2930 annotations :
31+ # Force pod restart when configmap changes
32+ checksum/config : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
33+ {{- with .Values.podAnnotations }}
3034 {{- toYaml . | nindent 8 }}
31- {{- end }}
35+ {{- end }}
3236 labels :
3337 {{- include "event-exporter.labels" . | nindent 8 }}
3438 spec :
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ metadata:
1717 name : {{ include "fault-quarantine.fullname" . }}
1818 labels :
1919 {{- include "fault-quarantine.labels" . | nindent 4 }}
20+ annotations :
21+ argocd.argoproj.io/sync-wave : " -1"
2022data :
2123 config.toml : |
2224 label-prefix = {{ .Values.labelPrefix | quote }}
Original file line number Diff line number Diff line change @@ -17,17 +17,21 @@ metadata:
1717 name : {{ include "fault-quarantine.fullname" . }}
1818 labels :
1919 {{- include "fault-quarantine.labels" . | nindent 4 }}
20+ annotations :
21+ argocd.argoproj.io/sync-wave : " 0"
2022spec :
2123 replicas : {{ .Values.replicaCount }}
2224 selector :
2325 matchLabels :
2426 {{- include "fault-quarantine.selectorLabels" . | nindent 6 }}
2527 template :
2628 metadata :
27- {{- with ((.Values.global).podAnnotations | default .Values.podAnnotations) }}
2829 annotations :
30+ # Force pod restart when configmap changes
31+ checksum/config : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
32+ {{- with ((.Values.global).podAnnotations | default .Values.podAnnotations) }}
2933 {{- toYaml . | nindent 8 }}
30- {{- end }}
34+ {{- end }}
3135 labels :
3236 {{- include "fault-quarantine.selectorLabels" . | nindent 8 }}
3337 spec :
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ metadata:
1818 name : {{ include "fault-remediation.fullname" . }}
1919 labels :
2020 {{- include "fault-remediation.labels" . | nindent 4 }}
21+ annotations :
22+ argocd.argoproj.io/sync-wave : " -1"
2123data :
2224 config.toml : |
2325 [template]
Original file line number Diff line number Diff line change @@ -17,17 +17,21 @@ metadata:
1717 name : {{ include "fault-remediation.fullname" . }}
1818 labels :
1919 {{- include "fault-remediation.labels" . | nindent 4}}
20+ annotations :
21+ argocd.argoproj.io/sync-wave : " 0"
2022spec :
2123 replicas : {{ .Values.replicaCount }}
2224 selector :
2325 matchLabels :
2426 {{- include "fault-remediation.selectorLabels" . | nindent 6 }}
2527 template :
2628 metadata :
27- {{- with ((.Values.global).podAnnotations | default .Values.podAnnotations) }}
2829 annotations :
30+ # Force pod restart when configmap changes
31+ checksum/config : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
32+ {{- with ((.Values.global).podAnnotations | default .Values.podAnnotations) }}
2933 {{- toYaml . | nindent 8 }}
30- {{- end }}
34+ {{- end }}
3135 labels :
3236 {{- include "fault-remediation.selectorLabels" . | nindent 8 }}
3337 spec :
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ apiVersion: v1
1616kind : ConfigMap
1717metadata :
1818 name : {{ include "health-events-analyzer.fullname" . }}-config
19+ annotations :
20+ argocd.argoproj.io/sync-wave : " -1"
1921data :
2022 config.toml : |
2123 {{ tpl .Values.config . | nindent 6 }}
Original file line number Diff line number Diff line change @@ -18,17 +18,21 @@ metadata:
1818 name : {{ include "health-events-analyzer.fullname" . }}
1919 labels :
2020 {{- include "health-events-analyzer.labels" . | nindent 4 }}
21+ annotations :
22+ argocd.argoproj.io/sync-wave : " 0"
2123spec :
2224 replicas : {{ .Values.replicaCount }}
2325 selector :
2426 matchLabels :
2527 {{- include "health-events-analyzer.selectorLabels" . | nindent 6 }}
2628 template :
2729 metadata :
28- {{- with .Values.podAnnotations }}
2930 annotations :
31+ # Force pod restart when configmap changes
32+ checksum/config : {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
33+ {{- with .Values.podAnnotations }}
3034 {{- toYaml . | nindent 8 }}
31- {{- end }}
35+ {{- end }}
3236 labels :
3337 {{- include "health-events-analyzer.labels" . | nindent 8 }}
3438 spec :
You can’t perform that action at this time.
0 commit comments