summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/charts/aaf-sms/templates/job.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-06-05 15:40:52 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-06-08 08:26:08 +0200
commit5336a4ad074c54e392c8b0ec128ce4e450111c9c (patch)
tree40568209e36bf61e00b4357fd179e465e7ec935a /kubernetes/aaf/charts/aaf-sms/templates/job.yaml
parent3c2395cd1dede2bed7bd385d637f989eb6bfb15b (diff)
[AAF SMS] Override outdated certificates
Certificates in AAF SMS are outdated Replacing by new ones Issue-ID: AAF-1159 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I47c459e6f9ca002bf7ed946a7de80426b04e959a
Diffstat (limited to 'kubernetes/aaf/charts/aaf-sms/templates/job.yaml')
-rw-r--r--kubernetes/aaf/charts/aaf-sms/templates/job.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/aaf/charts/aaf-sms/templates/job.yaml b/kubernetes/aaf/charts/aaf-sms/templates/job.yaml
index a5446ab20e..a3b1fa9818 100644
--- a/kubernetes/aaf/charts/aaf-sms/templates/job.yaml
+++ b/kubernetes/aaf/charts/aaf-sms/templates/job.yaml
@@ -70,6 +70,9 @@ spec:
readOnly: true
- mountPath: /preload/config
name: {{ include "common.name" . }}-preload
+ - mountPath: /sms/certs
+ name: {{ include "common.fullname" . }}-certs
+ readOnly: true
resources:
{{ include "common.resources" . | indent 10 }}
{{- if .Values.nodeSelector }}
@@ -87,6 +90,9 @@ spec:
- name : {{ include "common.name" . }}-preload
configMap:
name: {{ include "common.fullname" . }}-preload
+ - name: {{ include "common.fullname" . }}-certs
+ secret:
+ secretName: {{ include "common.fullname" . }}-certs
restartPolicy: OnFailure
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"