Fingerprint the Qdrant corpus by content, not by count
This commit is contained in:
@@ -10,6 +10,23 @@
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Container image reference.
|
||||
|
||||
The tag is demanded explicitly rather than defaulted so that a values file
|
||||
which deliberately leaves it unset fails the render instead of silently
|
||||
inheriting the chart's `local` development tag. Production and practice both
|
||||
supply an immutable commit SHA per deploy — practice through the ArgoCD
|
||||
Application's inline values, rewritten by sync_practice_argocd.py — and a
|
||||
chart that guessed a tag here would deploy something nobody asked for.
|
||||
|
||||
Usage: {{ include "medical-chatbot.image" (dict "image" .Values.web.image "name" "web") }}
|
||||
*/}}
|
||||
{{- define "medical-chatbot.image" -}}
|
||||
{{- $tag := required (printf "%s.image.tag must be set to an immutable tag (a commit SHA); the chart will not guess one" .name) .image.tag -}}
|
||||
{{- printf "%s:%s" (required (printf "%s.image.repository must be set" .name) .image.repository) $tag -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "medical-chatbot.labels" -}}
|
||||
app.kubernetes.io/name: {{ include "medical-chatbot.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
|
||||
Reference in New Issue
Block a user