From 798144599328ad1a17830a297a0539553f35f97b Mon Sep 17 00:00:00 2001 From: osgn422w Date: Fri, 25 Sep 2020 02:28:02 +0200 Subject: [CLAMP] AAF certificate using certinializer(2) use of auto-generated certificates via AAF side-car at OOM deployment time for CLAMP dashboard part. Issue-ID: CLAMP-884 Change-Id: If1c1cfb7d218060dde129546cadf38647a8d496e Signed-off-by: osgn422w --- .../clamp/components/clamp-dash-logstash/templates/deployment.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kubernetes/clamp/components/clamp-dash-logstash/templates') diff --git a/kubernetes/clamp/components/clamp-dash-logstash/templates/deployment.yaml b/kubernetes/clamp/components/clamp-dash-logstash/templates/deployment.yaml index acd108d2cf..887f722179 100644 --- a/kubernetes/clamp/components/clamp-dash-logstash/templates/deployment.yaml +++ b/kubernetes/clamp/components/clamp-dash-logstash/templates/deployment.yaml @@ -49,6 +49,7 @@ spec: image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }}-readiness +{{ include "common.certInitializer.initContainer" . | indent 6 }} containers: - name: {{ include "common.name" . }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" @@ -91,7 +92,7 @@ spec: periodSeconds: {{ .Values.liveness.periodSeconds }} timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} {{ end -}} - volumeMounts: + volumeMounts: {{ include "common.certInitializer.volumeMount" . | nindent 10 }} - mountPath: /etc/localtime name: localtime readOnly: true @@ -111,7 +112,7 @@ spec: affinity: {{ toYaml .Values.affinity | indent 10 }} {{- end }} - volumes: + volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }} - name: localtime hostPath: path: /etc/localtime -- cgit 1.2.3-korg