Skip to content

Commit

Permalink
feat: add checksum for configmaps and fix driver mount
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsens committed Nov 20, 2023
1 parent 793720e commit da0d568
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/drill/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: drill
version: 1.2.10
version: 1.2.11
appVersion: 1.21.1
description: Helm Charts for deploying Apache Drill Clusters on Kubernetes
icon: https://raw.githubusercontent.com/wearefrank/charts/master/charts/drill/icon.svg
Expand Down
8 changes: 5 additions & 3 deletions charts/drill/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ spec:
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }}
annotations:
checksum/configmap.override: {{ include (print $.Template.BasePath "/configmap.override.yaml") . | sha256sum }}
checksum/secret.users: {{ include (print $.Template.BasePath "/secret.users.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
spec:
affinity:
podAntiAffinity:
Expand Down Expand Up @@ -144,7 +146,7 @@ spec:
volumeMounts:
- name: {{ template "drill.fullname" $ }}-data
mountPath: /downloads
subPath: drivers
subPath: 3rdparty
{{- end }}
- name: zookeeper-available
image: busybox
Expand Down

0 comments on commit da0d568

Please sign in to comment.