From 685108220c8efab3f2748e16528480282f662e8f Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Wed, 9 Oct 2019 17:13:59 +0800 Subject: [PATCH] Mount the certificate of UAA in a seperated directory Fixes #378, mount the certificate of UAA in a seperated directory Signed-off-by: Wenkai Yin --- templates/core/core-cm.yaml | 2 +- templates/core/core-dpl.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/core/core-cm.yaml b/templates/core/core-cm.yaml index 7893b3e51..216f970c9 100644 --- a/templates/core/core-cm.yaml +++ b/templates/core/core-cm.yaml @@ -49,7 +49,7 @@ data: REGISTRYCTL_URL: "http://{{ template "harbor.registry" . }}:8080" CLAIR_HEALTH_CHECK_SERVER_URL: "http://{{ template "harbor.clair" . }}:6061" {{- if .Values.uaaSecretName }} - UAA_CA_ROOT: "/etc/core/ca/auth-ca.crt" + UAA_CA_ROOT: "/etc/core/auth-ca/auth-ca.crt" {{- end }} {{- if has "core" .Values.proxy.components }} HTTP_PROXY: "{{ .Values.proxy.httpProxy }}" diff --git a/templates/core/core-dpl.yaml b/templates/core/core-dpl.yaml index 26ce478c5..6d541a475 100644 --- a/templates/core/core-dpl.yaml +++ b/templates/core/core-dpl.yaml @@ -80,7 +80,7 @@ spec: {{- end }} {{- if .Values.uaaSecretName }} - name: auth-ca-cert - mountPath: /etc/core/ca/auth-ca.crt + mountPath: /etc/core/auth-ca/auth-ca.crt subPath: auth-ca.crt {{- end }} - name: psc