mayankg2703 | 135d891 | 2018-02-06 10:28:00 +0000 | [diff] [blame] | 1 | #{{ if not .Values.disableAaiModelLoaderService }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | name: model-loader-prop-configmap |
| 6 | namespace: {{ .Values.nsPrefix }}-aai |
| 7 | data: |
| 8 | {{ tpl (.Files.Glob "resources/config/model-loader/appconfig/model-loader.properties").AsConfig . | indent 2 }} |
| 9 | --- |
| 10 | apiVersion: v1 |
| 11 | kind: Secret |
| 12 | metadata: |
| 13 | name: model-loader-secret |
| 14 | namespace: {{ .Values.nsPrefix }}-aai |
| 15 | type: Opaque |
| 16 | data: |
| 17 | {{ tpl (.Files.Glob "resources/config/model-loader/appconfig/auth/*").AsSecrets . | indent 2 }} |
| 18 | #{{ end }} |