From d129b848febee170af9793f6f3eb4cd8d38da28e Mon Sep 17 00:00:00 2001 From: Mikio Stewart Date: Wed, 21 Aug 2024 08:30:55 -0700 Subject: [PATCH] add checksum annotation --- deploy/charts/litellm-helm/templates/deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/charts/litellm-helm/templates/deployment.yaml b/deploy/charts/litellm-helm/templates/deployment.yaml index 07e617581..5caeb1258 100644 --- a/deploy/charts/litellm-helm/templates/deployment.yaml +++ b/deploy/charts/litellm-helm/templates/deployment.yaml @@ -13,10 +13,11 @@ spec: {{- include "litellm.selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} annotations: + checksum/config: {{ include (print $.Template.BasePath "/config-litellm.yaml") . | sha256sum }} + {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} labels: {{- include "litellm.labels" . | nindent 8 }} {{- with .Values.podLabels }}