mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 1 | #{{ if not .Values.disableAaiSparkyBe }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | name: sparky-be-configmap |
| 6 | namespace: {{ .Values.nsPrefix }}-aai |
| 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: sparky-be-model-configmap |
| 14 | namespace: {{ .Values.nsPrefix }}-aai |
| 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: sparky-be-portal-configmap |
| 22 | namespace: {{ .Values.nsPrefix }}-aai |
| 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: sparky-be-secret |
| 30 | namespace: {{ .Values.nsPrefix }}-aai |
| 31 | type: Opaque |
| 32 | data: |
| 33 | {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/auth/*").AsSecrets . | indent 2 }} |
mayankg2703 | 38d6d7b | 2018-02-07 05:29:22 +0000 | [diff] [blame^] | 34 | --- |
| 35 | apiVersion: v1 |
| 36 | kind: ConfigMap |
| 37 | metadata: |
| 38 | name: aai-sparky-be-log-configmap |
| 39 | namespace: {{ .Values.nsPrefix }}-aai |
| 40 | data: |
| 41 | {{ tpl (.Files.Glob "resources/config/log/sparky-be/logback.xml").AsConfig . | indent 2 }} |
mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 42 | #{{ end }} |