Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
policy helm changes to override of cert store
[oom.git]
/
kubernetes
/
policy
/
charts
/
policy-api
/
templates
/
configmap.yaml
diff --git
a/kubernetes/policy/charts/policy-api/templates/configmap.yaml
b/kubernetes/policy/charts/policy-api/templates/configmap.yaml
index
d90b0c9
..
adf917a
100644
(file)
--- a/
kubernetes/policy/charts/policy-api/templates/configmap.yaml
+++ b/
kubernetes/policy/charts/policy-api/templates/configmap.yaml
@@
-21,5
+21,11
@@
kind: ConfigMap
metadata:
name: {{ include "common.fullname" . }}-configmap
namespace: {{ include "common.namespace" . }}
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/config.json").AsConfig . | indent 2 }}
data:
{{ tpl (.Files.Glob "resources/config/config.json").AsConfig . | indent 2 }}