From 3e3e35e2729faa443e5da0002bfe6b9899284252 Mon Sep 17 00:00:00 2001 From: Andrew Bayer Date: Mon, 20 Jan 2020 08:19:08 -0500 Subject: [PATCH] chore: Pass whether vault is enabled and clusterName to LH and Prow charts Signed-off-by: Andrew Bayer --- env/lighthouse/values.tmpl.yaml | 9 +++++++++ env/prow/values.tmpl.yaml | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/env/lighthouse/values.tmpl.yaml b/env/lighthouse/values.tmpl.yaml index 8f2ed6f7..a1d4c8f4 100644 --- a/env/lighthouse/values.tmpl.yaml +++ b/env/lighthouse/values.tmpl.yaml @@ -18,3 +18,12 @@ replicaCount: 2 image: repository: gcr.io/jenkinsxio/lighthouse + +vault: +{{- if eq .Requirements.secretStorage "vault" }} + enabled: true +{{- else }} + enabled: false +{{- end }} + +clusterName: {{ .Requirements.cluster.clusterName }} diff --git a/env/prow/values.tmpl.yaml b/env/prow/values.tmpl.yaml index 8d9edfd7..e5602ed4 100644 --- a/env/prow/values.tmpl.yaml +++ b/env/prow/values.tmpl.yaml @@ -27,4 +27,11 @@ build: plank: enabled: false +vault: +{{- if eq .Requirements.secretStorage "vault" }} + enabled: true +{{- else }} + enabled: false +{{- end }} +clusterName: {{ .Requirements.cluster.clusterName }}