diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-10-27 13:28:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-27 13:28:26 +0000 |
commit | e6ed36def78215d97ddfb995a2170224db4c3007 (patch) | |
tree | 6b8e68555506fec0d78a0d4a8bf164b7cee557eb /kubernetes/policy/charts/policy-pap/templates/configmap.yaml | |
parent | 8829b4f35c6efd700b31022e6771ceeae3e41039 (diff) | |
parent | 7ade5b8aa8f8ff6af7fb44fd2e9511d974c14598 (diff) |
Merge "policy helm changes to override of cert store"
Diffstat (limited to 'kubernetes/policy/charts/policy-pap/templates/configmap.yaml')
-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 }} |