From 1135f2c9310ea4bbeec31ced75e735121b2df243 Mon Sep 17 00:00:00 2001 From: UNNAVA Date: Thu, 2 Apr 2020 15:29:20 -0400 Subject: update cert using secrets Issue-ID: DMAAP-1422 Change-Id: Idb75ceff8aff9df801f0781a1729dae1386b0b51 Signed-off-by: UNNAVA --- .../components/message-router/templates/statefulset.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'kubernetes/dmaap/components/message-router/templates/statefulset.yaml') diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml index f6d67214a6..9f64b99d50 100644 --- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml @@ -87,6 +87,18 @@ spec: - mountPath: /appl/dmaapMR1/etc/keyfile subPath: mykey name: mykey + - mountPath: /bundleconfig/etc/org.onap.dmaap.mr.jks + subPath: org.onap.dmaap.mr.jks + name: aaf-certs-secret + - mountPath: /appl/dmaapMR1/etc/org.onap.dmaap.mr.trust.jks + subPath: org.onap.dmaap.mr.trust.jks + name: aaf-certs-secret + - mountPath: /appl/dmaapMR1/etc/org.onap.dmaap.mr.keyfile + subPath: org.onap.dmaap.mr.keyfile + name: aaf-certs-secret + - mountPath: /appl/dmaapMR1/etc/org.onap.dmaap.mr.p12 + subPath: org.onap.dmaap.mr.p12 + name: aaf-certs-secret resources: {{ include "common.resources" . | indent 12 }} volumes: @@ -105,5 +117,8 @@ spec: - name: mykey secret: secretName: {{ include "common.fullname" . }}-secret + - name: aaf-certs-secret + secret: + secretName: {{ include "common.fullname" . }}-aaf-certs-secret imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" -- cgit 1.2.3-korg