aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/dgbuilder/templates/deployment.yaml
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-07-15 17:31:43 -0400
committerDan Timoney <dtimoney@att.com>2020-07-16 09:13:35 -0400
commit6f902b73494027acd5282a4b27ed6c7919f1f8ff (patch)
treef7b6397eb67c71b5426ffc221d066cbc46c768a1 /kubernetes/common/dgbuilder/templates/deployment.yaml
parent6f84e8b16401337d93f25833ad6ed8cb3db182d2 (diff)
[CCSDK] Add hardcoded dgbuilder certificates
Add hard coded certificate for CCSDK dgbuilder (design time tool) Issue-ID: CCSDK-2541 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I9fe61a1bdf17cbdf22a3d518ded27582e86c2c07
Diffstat (limited to 'kubernetes/common/dgbuilder/templates/deployment.yaml')
-rw-r--r--kubernetes/common/dgbuilder/templates/deployment.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/common/dgbuilder/templates/deployment.yaml b/kubernetes/common/dgbuilder/templates/deployment.yaml
index e1fac77a97..ac15055a81 100644
--- a/kubernetes/common/dgbuilder/templates/deployment.yaml
+++ b/kubernetes/common/dgbuilder/templates/deployment.yaml
@@ -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"