[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 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml" ) . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml" ) . | sha256sum }}
labels:
{{- include "openresty.labels" . | nindent 8 }}
{{- with .Values.podLabels }}