We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88a248b commit 601228fCopy full SHA for 601228f
1 file changed
templates/deployment.yaml
@@ -2,11 +2,10 @@ apiVersion: apps/v1
2
kind: Deployment
3
metadata:
4
name: {{ include "codexdocs.fullname" . }}
5
+ {{- with .Values.annotations }}
6
annotations:
- checksum/config: {{ .Values.configuration | toString | sha256sum }}
7
- {{- if .Values.annotations }}
8
- {{- toYaml .Values.annotations | nindent 4 }}
9
- {{- end }}
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
10
labels:
11
{{- include "codexdocs.labels" . | nindent 4 }}
12
spec:
@@ -22,8 +21,9 @@ spec:
22
21
{{- include "codexdocs.selectorLabels" . | nindent 6 }}
23
template:
24
25
- {{- with .Values.podAnnotations }}
26
+ checksum/config: {{ .Values.configuration | toString | sha256sum }}
+ {{- with .Values.podAnnotations }}
27
{{- toYaml . | nindent 8 }}
28
{{- end }}
29
0 commit comments