Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[CCSDK] Add hardcoded dgbuilder certificates
[oom.git]
/
kubernetes
/
common
/
dgbuilder
/
templates
/
deployment.yaml
diff --git
a/kubernetes/common/dgbuilder/templates/deployment.yaml
b/kubernetes/common/dgbuilder/templates/deployment.yaml
index
e1fac77
..
ac15055
100644
(file)
--- 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: 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 }}
resources:
{{ include "common.resources" . | indent 12 }}
{{- if .Values.nodeSelector }}
@@
-133,5
+135,8
@@
spec:
- name: config
emptyDir:
medium: Memory
- 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"
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"