From 8753ad6a17493aa6d38ca5ad1f43680e6a51e845 Mon Sep 17 00:00:00 2001 From: Mike Ludwig Date: Thu, 22 Oct 2020 14:52:54 -0400 Subject: [PATCH] add custom CA bundle to workbench deployment Arvados-DCO-1.1-Signed-off-by: Michael Ludwig --- charts/arvados/templates/workbench-deployment.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/charts/arvados/templates/workbench-deployment.yaml b/charts/arvados/templates/workbench-deployment.yaml index 997fe46..e8c506e 100644 --- a/charts/arvados/templates/workbench-deployment.yaml +++ b/charts/arvados/templates/workbench-deployment.yaml @@ -49,6 +49,11 @@ spec: - name: ssl-configmap mountPath: /etc/ssl/private/workbench.key subPath: key + {{- if .Values.customCABundle }} + - name: custom-ca-bundle-volume + mountPath: /etc/ssl/certs/ca-certificates.crt + subPath: custom-ca-bundle.pem + {{- end }} volumes: - name: etc-configmap configMap: @@ -59,3 +64,9 @@ spec: - name: ssl-configmap configMap: name: ssl-configmap + {{- if .Values.customCABundle }} + - name: custom-ca-bundle-volume + configMap: + name: custom-ca-bundle-configmap + {{- end }} + -- 2.30.2