[CCSDK] Add hardcoded dgbuilder certificates
[oom.git] / kubernetes / common / dgbuilder / templates / deployment.yaml
index e1fac77..ac15055 100644 (file)
@@ -113,6 +113,8 @@ spec:
           - name: config
             mountPath: /opt/onap/ccsdk/dgbuilder/releases/sdnc1.0/customSettings.js
             subPath: customSettings.js
+          - name: certificates
+            mountPath: /opt/onap/ccsdk/dgbuilder/certs
           resources:
 {{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
@@ -133,5 +135,8 @@ spec:
         - name: config
           emptyDir:
             medium: Memory
+        - name: certificates
+          secret:
+            secretName: {{ include "common.secret.getSecretNameFast" (dict "global" . "uid" "{{.Release.Name}}-dgbuilder-onap-certs") }}
       imagePullSecrets:
       - name: "{{ include "common.namespace" . }}-docker-registry-key"