From 7ade5b8aa8f8ff6af7fb44fd2e9511d974c14598 Mon Sep 17 00:00:00 2001 From: jhh Date: Fri, 25 Oct 2019 00:05:36 -0500 Subject: policy helm changes to override of cert store Issue-ID: POLICY-2064 Signed-off-by: jhh Change-Id: I5d9c6b8ea7e13b43b900f07d394b0bc5fb4b0c9f --- .../policy/charts/policy-xacml-pdp/templates/configmap.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'kubernetes/policy/charts/policy-xacml-pdp/templates') diff --git a/kubernetes/policy/charts/policy-xacml-pdp/templates/configmap.yaml b/kubernetes/policy/charts/policy-xacml-pdp/templates/configmap.yaml index f689f4d6e8..f725c3add7 100644 --- a/kubernetes/policy/charts/policy-xacml-pdp/templates/configmap.yaml +++ b/kubernetes/policy/charts/policy-xacml-pdp/templates/configmap.yaml @@ -21,5 +21,11 @@ kind: ConfigMap metadata: name: {{ include "common.fullname" . }}-configmap namespace: {{ include "common.namespace" . }} +{{- with .Files.Glob "resources/config/*store" }} +binaryData: +{{- range $path, $bytes := . }} + {{ base $path }}: {{ $.Files.Get $path | b64enc | quote }} +{{- end }} +{{- end }} data: -{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }} +{{ tpl (.Files.Glob "resources/config/*.{json,properties}").AsConfig . | indent 2 }} -- cgit 1.2.3-korg