From c4f71a13595e751ee51eee12a24af5fa66c6780a Mon Sep 17 00:00:00 2001 From: asetty Date: Tue, 18 Jun 2019 10:32:24 -0700 Subject: [PATCH] [stable/spinnaker] Use gcs.secretName when it exists for install-using-hal job (#11399) * Use gcs.secretName when it exists for install-using-hal job Signed-off-by: Adam Setters * bump chart version Signed-off-by: Paul Czarkowski --- stable/spinnaker/Chart.yaml | 2 +- stable/spinnaker/templates/hooks/install-using-hal.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/spinnaker/Chart.yaml b/stable/spinnaker/Chart.yaml index 48487d1682..f63df51663 100644 --- a/stable/spinnaker/Chart.yaml +++ b/stable/spinnaker/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Open source, multi-cloud continuous delivery platform for releasing software changes with high velocity and confidence. name: spinnaker -version: 1.11.1 +version: 1.11.3 appVersion: 1.12.5 home: http://spinnaker.io/ sources: diff --git a/stable/spinnaker/templates/hooks/install-using-hal.yaml b/stable/spinnaker/templates/hooks/install-using-hal.yaml index 5fa796aa31..4479b9a1df 100644 --- a/stable/spinnaker/templates/hooks/install-using-hal.yaml +++ b/stable/spinnaker/templates/hooks/install-using-hal.yaml @@ -59,7 +59,11 @@ spec: {{- if .Values.gcs.enabled }} - name: gcs-key secret: + {{- if .Values.gcs.secretName }} + secretName: {{ .Values.gcs.secretName }} + {{- else }} secretName: {{ template "spinnaker.fullname" . }}-gcs + {{- end }} {{- end }} {{- if and .Values.s3.enabled .Values.s3.accessKey .Values.s3.secretKey }} - name: s3-secrets