From 080e4e77856d8cce0ea8bb2e296f8178d1128e60 Mon Sep 17 00:00:00 2001 From: Rustam Tagaev Date: Fri, 6 Dec 2024 15:28:21 +0300 Subject: [PATCH] [DO-1377] fix annotation --- templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 3e0b719..1c411ad 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -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 }}