Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated helm charts for e-release
[it/dep.git]
/
nonrtric
/
helm
/
controlpanel
/
templates
/
configmap.yaml
diff --git
a/nonrtric/helm/controlpanel/templates/configmap.yaml
b/nonrtric/helm/controlpanel/templates/configmap.yaml
index
e351ce9
..
c99b92f
100644
(file)
--- a/
nonrtric/helm/controlpanel/templates/configmap.yaml
+++ b/
nonrtric/helm/controlpanel/templates/configmap.yaml
@@
-25,4
+25,8
@@
metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
-{{ tpl (.Files.Glob "resources/*").AsConfig . | indent 2 }}
\ No newline at end of file
+{{if eq .Values.controlpanel.ingress.enabled false }}
+{{ tpl (.Files.Glob "resources-ngw/*").AsConfig . | indent 2 }}
+{{ else }}
+{{ tpl (.Files.Glob "resources-ing/*").AsConfig . | indent 2 }}
+{{ end }}
\ No newline at end of file