summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/dgbuilder/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-20 08:27:44 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-20 08:27:44 +0000
commitacb79fea3e8d6df4cb46e201f8f3ad5f2d3d0420 (patch)
tree83d443e25e5e9820963f7815ec0db9aef6682ec7 /kubernetes/common/dgbuilder/templates/deployment.yaml
parentd344d669fa3046808a63610e61ef3547cac629cc (diff)
parent6f902b73494027acd5282a4b27ed6c7919f1f8ff (diff)
Merge "[CCSDK] Add hardcoded dgbuilder certificates" into frankfurt6.0.1
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"