summaryrefslogtreecommitdiffstats
path: root/templates/configmap.yaml
diff options
context:
space:
mode:
authorkj <keren.joseph@amdocs.com>2018-03-19 15:07:44 +0200
committerkj <keren.joseph@amdocs.com>2018-03-27 19:48:13 +0300
commit6a8ce801a6afe0a26694b02532773b1938e2dd70 (patch)
tree6d1a2f391545a18f967a59c0b2f7a21887baaf5c /templates/configmap.yaml
parente3b6f914d6daf91ca110060c2b8696ff04b82773 (diff)
Add standardized helm chart for aai
Issue-ID: OOM-734 Change-Id: I6b1a85017d79b92afcae44cf823ab000a10ce4be Signed-off-by: kj <keren.joseph@amdocs.com>
Diffstat (limited to 'templates/configmap.yaml')
-rw-r--r--templates/configmap.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/configmap.yaml b/templates/configmap.yaml
new file mode 100644
index 0000000..78235bc
--- /dev/null
+++ b/templates/configmap.yaml
@@ -0,0 +1,35 @@
+# this is a shared resource for subcharts
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: aai-filebeat
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/log/filebeat/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: aai-deployment-configmap
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/haproxy/*").AsConfig . | indent 2 }}
+---
+# this is a shared resource for subcharts
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: aai-chef-config
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/aai-data/chef-config/dev/.knife/solo.rb").AsConfig . | indent 2 }}
+---
+# this is a shared resource for subcharts
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: aai-resources-environments
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/aai-data/environments/*").AsConfig . | indent 2 }}
+