aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-05-09 12:13:49 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-09 12:13:49 +0000
commitb009e215aaf60bcced7d0373bafbbd9b7e491cc0 (patch)
tree43b798624e7d77031ba906fc68cbc9da9e9b3c72 /kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml
parentd2eff370d0c15727568e9d977bd737e59b2e1141 (diff)
parent543d3aaab955b0ad6614c7dc456fb6005c269149 (diff)
Merge "SDC Certificate location is configurable"
Diffstat (limited to 'kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml')
-rw-r--r--kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml
index 87556b0b55..70895d308d 100644
--- a/kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml
+++ b/kubernetes/sdc/charts/sdc-onboarding-be/templates/deployment.yaml
@@ -88,6 +88,8 @@ spec:
- name: SDC_PASSWORD
valueFrom:
secretKeyRef: {name: {{ .Release.Name }}-sdc-cs-secrets, key: sdc_password}
+ - name: SDC_CERT_DIR
+ value: {{ .Values.cert.certDir }}
volumeMounts:
- name: {{ include "common.fullname" . }}-environments
mountPath: /root/chef-solo/environments/
@@ -99,6 +101,8 @@ spec:
- name: {{ include "common.fullname" . }}-logback
mountPath: /tmp/logback.xml
subPath: logback.xml
+ - name: {{ include "common.fullname" . }}-cert-storage
+ mountPath: "{{ .Values.cert.certDir }}"
lifecycle:
postStart:
exec:
@@ -133,5 +137,8 @@ spec:
defaultMode: 0755
- name: {{ include "common.fullname" . }}-logs
emptyDir: {}
+ - name: {{ include "common.fullname" . }}-cert-storage
+ persistentVolumeClaim:
+ claimName: {{ include "common.fullname" . }}-cert
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"