3a0c7fb556a0f4ad2d39db825447c5f9a4a206f8
[oom.git] / kubernetes / aai / templates / sparky-be-deployment-configmap.yaml
1 #{{ if not .Values.disableAaiSparkyBe }}
2 apiVersion: v1
3 kind: ConfigMap
4 metadata:
5   name: aai-sparky-be-configmap
6   namespace: {{ .Values.nsPrefix }}
7 data:
8 {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/*").AsConfig . | indent 2 }}
9 ---
10 apiVersion: v1
11 kind: ConfigMap
12 metadata:
13   name: aai-sparky-be-model-configmap
14   namespace: {{ .Values.nsPrefix }}
15 data:
16 {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/model/*").AsConfig . | indent 2 }}
17 ---
18 apiVersion: v1
19 kind: ConfigMap
20 metadata:
21   name: aai-sparky-be-portal-configmap
22   namespace: {{ .Values.nsPrefix }}
23 data:
24 {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/portal/*").AsConfig . | indent 2 }}
25 ---
26 apiVersion: v1
27 kind: Secret
28 metadata:
29   name: aai-sparky-be-secret
30   namespace: {{ .Values.nsPrefix }}
31 type: Opaque
32 data:
33 {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/auth/*").AsSecrets . | indent 2 }}
34 ---
35 apiVersion: v1
36 kind: ConfigMap
37 metadata:
38   name: aai-sparky-be-log-configmap
39   namespace: {{ .Values.nsPrefix }}
40 data:
41 {{ tpl (.Files.Glob "resources/config/log/sparky-be/logback.xml").AsConfig . | indent 2 }}
42 #{{ end }}