Merge pull request #5318 from mikstew/mikio/checksum-annotation

add checksum/config pod annotation
This commit is contained in:
Krish Dholakia 2024-08-21 15:39:43 -07:00 • committed by GitHub
commit 81de1a0e90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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