vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 15 | #{{ if not .Values.disableAaiSparkyBe }} |
| 16 | apiVersion: v1 |
| 17 | kind: ConfigMap |
| 18 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 19 | name: aai-sparky-be-configmap |
| 20 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 21 | data: |
| 22 | {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/*").AsConfig . | indent 2 }} |
| 23 | --- |
| 24 | apiVersion: v1 |
| 25 | kind: ConfigMap |
| 26 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 27 | name: aai-sparky-be-model-configmap |
| 28 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 29 | data: |
| 30 | {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/model/*").AsConfig . | indent 2 }} |
| 31 | --- |
| 32 | apiVersion: v1 |
| 33 | kind: ConfigMap |
| 34 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 35 | name: aai-sparky-be-portal-configmap |
| 36 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 37 | data: |
| 38 | {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/portal/*").AsConfig . | indent 2 }} |
| 39 | --- |
| 40 | apiVersion: v1 |
| 41 | kind: Secret |
| 42 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 43 | name: aai-sparky-be-secret |
| 44 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 45 | type: Opaque |
| 46 | data: |
| 47 | {{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/auth/*").AsSecrets . | indent 2 }} |
mayankg2703 | 38d6d7b | 2018-02-07 05:29:22 +0000 | [diff] [blame] | 48 | --- |
| 49 | apiVersion: v1 |
| 50 | kind: ConfigMap |
| 51 | metadata: |
| 52 | name: aai-sparky-be-log-configmap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 53 | namespace: {{ .Values.nsPrefix }} |
mayankg2703 | 38d6d7b | 2018-02-07 05:29:22 +0000 | [diff] [blame] | 54 | data: |
| 55 | {{ tpl (.Files.Glob "resources/config/log/sparky-be/logback.xml").AsConfig . | indent 2 }} |
mayankg2703 | 9f44dc2 | 2018-02-06 16:40:19 +0000 | [diff] [blame] | 56 | #{{ end }} |