summaryrefslogtreecommitdiffstats
path: root/kubernetes/robot/templates/robot-dep-configmap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/robot/templates/robot-dep-configmap.yaml')
-rw-r--r--kubernetes/robot/templates/robot-dep-configmap.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/kubernetes/robot/templates/robot-dep-configmap.yaml b/kubernetes/robot/templates/robot-dep-configmap.yaml
new file mode 100644
index 0000000000..94e359dce7
--- /dev/null
+++ b/kubernetes/robot/templates/robot-dep-configmap.yaml
@@ -0,0 +1,25 @@
+#{{ if not .Values.disableRobot }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: robot-eteshare-configmap
+ namespace: {{ .Values.nsPrefix }}
+data:
+{{ tpl (.Files.Glob "resources/config/eteshare/config/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: robot-resources-configmap
+ namespace: {{ .Values.nsPrefix }}
+data:
+{{ tpl (.Files.Glob "resources/config/robot/resources/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: lighttpd-authorization-configmap
+ namespace: {{ .Values.nsPrefix }}
+data:
+{{ tpl (.Files.Glob "resources/config/authorization").AsConfig . | indent 2 }}
+#{{ end }}