aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/certInitializer/templates/_certInitializer.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-05-12 06:46:13 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-12 06:46:13 +0000
commitaf6a61e9b6ea2722e750c307fb6ffa5d3921b0c7 (patch)
treee180ea520eec6c8a7f577e6ed6f587b123d37425 /kubernetes/common/certInitializer/templates/_certInitializer.yaml
parent04d25125f8c933743f69c57494f426c31b73bf0d (diff)
parent95a5f84069703c583e49028b37003c73c03cc07d (diff)
Merge "[COMMON] Override truststore in aaf_agent image"
Diffstat (limited to 'kubernetes/common/certInitializer/templates/_certInitializer.yaml')
-rw-r--r--kubernetes/common/certInitializer/templates/_certInitializer.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/common/certInitializer/templates/_certInitializer.yaml b/kubernetes/common/certInitializer/templates/_certInitializer.yaml
index e4a878b420..0e0f339e11 100644
--- a/kubernetes/common/certInitializer/templates/_certInitializer.yaml
+++ b/kubernetes/common/certInitializer/templates/_certInitializer.yaml
@@ -67,6 +67,12 @@
volumeMounts:
- mountPath: {{ $initRoot.mountPath }}
name: {{ include "common.certInitializer._aafConfigVolumeName" $dot }}
+ - mountPath: /opt/app/aaf_config/cert/truststoreONAPall.jks.b64
+ name: aaf-agent-certs
+ subPath: truststoreONAPall.jks.b64
+ - mountPath: /opt/app/aaf_config/cert/truststoreONAP.p12.b64
+ name: aaf-agent-certs
+ subPath: truststoreONAP.p12.b64
{{- if $initRoot.aaf_add_config }}
- name: {{ include "common.certInitializer._aafAddConfigVolumeName" $dot }}
mountPath: /opt/app/aaf_config/bin/aaf-add-config.sh
@@ -127,6 +133,11 @@
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 -}}