Skip to content

Commit

Permalink
Automatically restart the worker when the catalog changes
Browse files Browse the repository at this point in the history
order deployment-worker.yaml annotations
  • Loading branch information
jimyag committed Sep 6, 2024
1 parent ac81a3c commit 984c2d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charts/trino/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
template:
metadata:
annotations:
checksum/catalog-config: {{ include (print $.Template.BasePath "/configmap-catalog.yaml") . | sha256sum }}
checksum/worker-config: {{ include (print $.Template.BasePath "/configmap-worker.yaml") . | sha256sum }}
{{- if .Values.worker.annotations }}
{{- tpl (toYaml .Values.worker.annotations) . | nindent 8 }}
Expand Down

0 comments on commit 984c2d2

Please sign in to comment.