[DO-1377] fix annotation

This commit is contained in:
Rustam Tagaev
2024-12-06 15:28:21 +03:00
parent 24828331df
commit 080e4e7785

View File

@@ -13,11 +13,11 @@ spec:
{{- include "openresty.selectorLabels" . | nindent 6 }} {{- include "openresty.selectorLabels" . | nindent 6 }}
template: template:
metadata: metadata:
{{- with .Values.podAnnotations }}
annotations: annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml" ) . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml" ) . | sha256sum }}
labels: labels:
{{- include "openresty.labels" . | nindent 8 }} {{- include "openresty.labels" . | nindent 8 }}
{{- with .Values.podLabels }} {{- with .Values.podLabels }}