From ef5b8687622cce8d6b0c7ee1df80329603738c2a Mon Sep 17 00:00:00 2001 From: Youngwoo Kim Date: Wed, 23 Sep 2020 23:08:09 +0900 Subject: [PATCH] [incubator/druid] overlord is broken when gCloudStorage.enabled is true (#23484) (#23485) Signed-off-by: Youngwoo Kim --- incubator/druid/Chart.yaml | 2 +- incubator/druid/templates/overlord/deployment.yaml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/incubator/druid/Chart.yaml b/incubator/druid/Chart.yaml index 3427717887..ee9eda72f9 100644 --- a/incubator/druid/Chart.yaml +++ b/incubator/druid/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.19.0 description: Apache Druid is a high performance real-time analytics database. name: druid -version: 0.2.10 +version: 0.2.11 home: https://druid.apache.org/ icon: https://druid.apache.org/img/favicon.png maintainers: diff --git a/incubator/druid/templates/overlord/deployment.yaml b/incubator/druid/templates/overlord/deployment.yaml index 534138182f..fe80ef3972 100644 --- a/incubator/druid/templates/overlord/deployment.yaml +++ b/incubator/druid/templates/overlord/deployment.yaml @@ -56,6 +56,17 @@ spec: port: {{ .Values.overlord.port }} resources: {{ toYaml .Values.overlord.resources | indent 12 }} + volumeMounts: + {{- if .Values.gCloudStorage.enabled }} + - name: google-cloud-key + mountPath: /var/secrets/google + {{- end }} + volumes: + {{- if .Values.gCloudStorage.enabled }} + - name: google-cloud-key + secret: + secretName: {{ .Values.gCloudStorage.secretName }} + {{- end }} {{- with .Values.overlord.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }}