Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions charts/open-ev-data/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,16 @@ spec:
metadata:
labels:
{{- include "api.selectorLabels" . | nindent 8 }}
{{- with .Values.api.podAnnotations }}
annotations:
# Forces a rollout whenever the rendered fetch-dataset ConfigMap
# changes, even if nothing else in the pod spec did (e.g. a chart
# upgrade that only touches api-configmap.yaml's fetch.sh) — plain
# env var changes already trigger a rollout on their own since
# they're inlined into this pod spec directly.
checksum/config: {{ include (print $.Template.BasePath "/api-configmap.yaml") . | sha256sum }}
{{- with .Values.api.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
spec:
serviceAccountName: {{ include "api.serviceAccountName" . }}
{{- with .Values.api.imagePullSecrets }}
Expand Down
Loading