Skip to content

Commit 4293cb2

Browse files
committed
Remove checksum for configmap and secret from values since it will be genereted automatically
1 parent b18b0cf commit 4293cb2

File tree

3 files changed

+16
-24
lines changed

3 files changed

+16
-24
lines changed

angular-osf/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ main:
158158

159159

160160
# ------- Pod Annotations -------
161-
podAnnotations:
162-
checksum/config: "{{ sha256sum (tpl (toYaml .Values.main.configMap.data) . ) }}"
161+
# Checksum for configmap and secret will be added automatically
162+
podAnnotations: []
163163

164164

165165
# ------- Service configuration -------

cos-common/templates/_deployment.tpl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,15 @@ spec:
3636
template:
3737
metadata:
3838
labels:
39-
{{- include "cos-common.podLabels" . | nindent 6 }}
40-
{{- with .values.podLabels }}
41-
{{ tpl (toYaml .) .root | nindent 6 }}
39+
{{- include "cos-common.podLabels" . | nindent 8 }}
40+
{{- with $vals.podLabels }}
41+
{{- tpl (toYaml .) $.root | nindent 8 }}
4242
{{- end }}
43-
4443
annotations:
45-
{{- /* User-defined pod annotations */}}
46-
{{- with .values.podAnnotations }}
47-
{{ tpl (toYaml .) .root | nindent 6 }}
44+
{{- with $vals.podAnnotations }}
45+
{{- tpl (toYaml .) $.root | nindent 8 }}
4846
{{- end }}
49-
50-
{{- /* ConfigMap and secret checksum for rollout */}}
51-
{{- include "cos-common.podChecksums" . | nindent 6 }}
47+
{{- include "cos-common.podChecksums" . | nindent 8 }}
5248
spec:
5349
{{- /* Shared pod spec helper wires containers, volumes, TLS, affinities, etc. */}}
5450
{{- include "cos-common.podSpec" . | nindent 6 }}

osf-graveyvalet/values.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,8 @@ main:
265265

266266

267267
# ------- Pod Annotations -------
268-
podAnnotations:
269-
checksum/config: "{{ sha256sum (tpl (toYaml .Values.main.configMap.data) . ) }}"
270-
checksum/secret: "{{ sha256sum (tpl (toYaml .Values.main.secret.data) . ) }}"
268+
# Checksum for configmap and secret will be added automatically
269+
podAnnotations: []
271270

272271
# ------- Service configuration -------
273272
# service name: '{{ include "cos-common.fullname" (dict "root" . "name" "") | trim }}'
@@ -532,9 +531,8 @@ worker:
532531

533532

534533
# ------- Pod Annotations -------
535-
podAnnotations:
536-
checksum/config: "{{ sha256sum (tpl (toYaml .Values.main.configMap.data) . ) }}"
537-
checksum/secret: "{{ sha256sum (tpl (toYaml .Values.main.secret.data) . ) }}"
534+
# Checksum for configmap and secret will be added automatically
535+
podAnnotations: []
538536

539537

540538
# ------- HPA configuration -------
@@ -718,9 +716,8 @@ beat:
718716

719717

720718
# ------- Pod Annotations -------
721-
podAnnotations:
722-
checksum/config: "{{ sha256sum (tpl (toYaml .Values.main.configMap.data) . ) }}"
723-
checksum/secret: "{{ sha256sum (tpl (toYaml .Values.main.secret.data) . ) }}"
719+
# Checksum for configmap and secret will be added automatically
720+
podAnnotations: []
724721

725722

726723
# ------- ConfigMap configuration -------
@@ -821,9 +818,8 @@ migration:
821818

822819

823820
# ------- Pod Annotations -------
824-
podAnnotations:
825-
checksum/config: "{{ sha256sum (tpl (toYaml .Values.main.configMap.data) . ) }}"
826-
checksum/secret: "{{ sha256sum (tpl (toYaml .Values.main.secret.data) . ) }}"
821+
# Checksum for configmap and secret will be added automatically
822+
podAnnotations: []
827823

828824

829825
# ------- ConfigMap configuration -------

0 commit comments

Comments
 (0)