From 0c6eceff0302e2506d3ca08d96d4a1df8cced165 Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Thu, 14 May 2020 01:44:30 +0200 Subject: [COMMON] Fix certInitializer By mistage aaf-agent-certs volume was created only if aaf_add_config option was set. This is incorrect as it should be created always. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak Change-Id: I6172d2cbb781db4a26e09b7c4c324e985978b31e (cherry picked from commit 108483cae4831bb99e11d0c7df9dad8621b202ff) --- .../common/certInitializer/templates/_certInitializer.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'kubernetes') diff --git a/kubernetes/common/certInitializer/templates/_certInitializer.yaml b/kubernetes/common/certInitializer/templates/_certInitializer.yaml index 0e0f339e11..c7ce979a3f 100644 --- a/kubernetes/common/certInitializer/templates/_certInitializer.yaml +++ b/kubernetes/common/certInitializer/templates/_certInitializer.yaml @@ -128,16 +128,15 @@ - name: {{ include "common.certInitializer._aafConfigVolumeName" $dot }} emptyDir: medium: Memory +- name: aaf-agent-certs + configMap: + name: {{ include "common.fullname" $subchartDot }}-certs + defaultMode: 0700 {{- if $initRoot.aaf_add_config }} - name: {{ include "common.certInitializer._aafAddConfigVolumeName" $dot }} configMap: name: {{ include "common.fullname" $subchartDot }}-add-config defaultMode: 0700 -- name: aaf-agent-certs - configMap: - name: {{ include "common.fullname" $subchartDot }}-certs - defaultMode: 0700 - {{- end -}} {{- end -}} -- cgit 1.2.3-korg