summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates/modelloader-deployment.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2017-09-13 15:27:51 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-13 15:27:51 +0000
commite6b8c84f451473fa2edc6dc44c39c055fca392d5 (patch)
tree829f2f9050e83c9da2d88cf0bb1c7ac60c48c826 /kubernetes/aai/templates/modelloader-deployment.yaml
parentd99d1d2956c3f5afac1dfc569a3389a445b179e9 (diff)
parent59ffd500ea34c201fbb3edc39e64655fa8381be0 (diff)
Merge "moving certs and keys to k8s secrets"
Diffstat (limited to 'kubernetes/aai/templates/modelloader-deployment.yaml')
-rw-r--r--kubernetes/aai/templates/modelloader-deployment.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/aai/templates/modelloader-deployment.yaml b/kubernetes/aai/templates/modelloader-deployment.yaml
index 5391273d9d..ec6a9178a7 100644
--- a/kubernetes/aai/templates/modelloader-deployment.yaml
+++ b/kubernetes/aai/templates/modelloader-deployment.yaml
@@ -20,6 +20,8 @@ spec:
volumeMounts:
- mountPath: /opt/app/model-loader/config/
name: aai-model-loader-config
+ - mountPath: /opt/app/model-loader/config/auth/aai-os-cert.p12
+ name: aai-os-cert
- mountPath: /logs/
name: aai-model-loader-logs
image: "{{ .Values.image.modelLoaderImage }}:{{ .Values.image.modelLoaderVersion }}"
@@ -35,6 +37,9 @@ spec:
- name: aai-model-loader-logs
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/model-loader/logs/"
+ - name: aai-os-cert
+ secret:
+ secretName: secret-{{ .Values.nsPrefix }}-aai
restartPolicy: Always
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"