summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-14 01:44:30 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-29 01:22:26 +0200
commit0c6eceff0302e2506d3ca08d96d4a1df8cced165 (patch)
treec9c9db0015f2111a4ae3037727af62390dd11718 /kubernetes/common
parent1ecc6dbce1c00ef33d6361d23ed25203fc25e724 (diff)
[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 <k.opasiak@samsung.com> Change-Id: I6172d2cbb781db4a26e09b7c4c324e985978b31e (cherry picked from commit 108483cae4831bb99e11d0c7df9dad8621b202ff)
Diffstat (limited to 'kubernetes/common')
-rw-r--r--kubernetes/common/certInitializer/templates/_certInitializer.yaml9
1 files changed, 4 insertions, 5 deletions
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 -}}