From: Mike Ludwig Date: Thu, 22 Oct 2020 18:52:54 +0000 (-0400) Subject: add custom CA bundle to workbench deployment X-Git-Url: https://git.arvados.org/arvados-k8s.git/commitdiff_plain/8753ad6a17493aa6d38ca5ad1f43680e6a51e845 add custom CA bundle to workbench deployment Arvados-DCO-1.1-Signed-off-by: Michael Ludwig --- 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 }} +