diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2019-10-25 00:05:36 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2019-10-25 00:07:44 -0500 |
commit | 7ade5b8aa8f8ff6af7fb44fd2e9511d974c14598 (patch) | |
tree | bc592e13551b026ca5e9e5bec60d8184563b28b8 /kubernetes/policy/charts/policy-pap | |
parent | bfc7fe22f3bc058639c2f90633970b18e3101ef2 (diff) |
policy helm changes to override of cert store
Issue-ID: POLICY-2064
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I5d9c6b8ea7e13b43b900f07d394b0bc5fb4b0c9f
Diffstat (limited to 'kubernetes/policy/charts/policy-pap')
-rw-r--r-- | kubernetes/policy/charts/policy-pap/templates/configmap.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/kubernetes/policy/charts/policy-pap/templates/configmap.yaml b/kubernetes/policy/charts/policy-pap/templates/configmap.yaml index 19ce6a8f20..13d993dba9 100644 --- a/kubernetes/policy/charts/policy-pap/templates/configmap.yaml +++ b/kubernetes/policy/charts/policy-pap/templates/configmap.yaml @@ -21,6 +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").AsConfig . | indent 2 }} |