add custom CA bundle to workbench deployment
authorMike Ludwig <mludwig@mitre.org>
Thu, 22 Oct 2020 18:52:54 +0000 (14:52 -0400)
committerMike Ludwig <mludwig@mitre.org>
Mon, 26 Oct 2020 16:02:17 +0000 (12:02 -0400)
Arvados-DCO-1.1-Signed-off-by: Michael Ludwig <michael.david.ludwig@gmail.com>

charts/arvados/templates/workbench-deployment.yaml

index 997fe469a308cb4e6faf06893ac42cacab4da532..e8c506e451c2fdc97300ba4fdf4330facb9f1990 100644 (file)
@@ -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 }}
+