add checksum annotation

This commit is contained in:
Mikio Stewart 2024-08-21 08:30:55 -07:00
parent 42df6b42c9
commit d129b848fe

View file

@ -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 }}