mayankg2703 | 28d3291 | 2018-02-06 10:24:30 +0000 | [diff] [blame^] | 1 | #{{ if not .Values.disableAaiSearchDataService }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | name: search-data-configmap |
| 6 | namespace: {{ .Values.nsPrefix }}-aai |
| 7 | data: |
| 8 | {{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/*").AsConfig . | indent 2 }} |
| 9 | --- |
| 10 | apiVersion: v1 |
| 11 | kind: Secret |
| 12 | metadata: |
| 13 | name: search-data-keystone-secret |
| 14 | namespace: {{ .Values.nsPrefix }}-aai |
| 15 | type: Opaque |
| 16 | data: |
| 17 | {{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/auth/tomcat_keystore").AsSecrets . | indent 2 }} |
| 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: ConfigMap |
| 21 | metadata: |
| 22 | name: aai-search-policy-configmap |
| 23 | namespace: {{ .Values.nsPrefix }}-aai |
| 24 | data: |
| 25 | {{ tpl (.Files.Glob "resources/config/search-data-service/appconfig/auth/search_policy.json").AsSecrets . | indent 2 }} |
| 26 | #{{ end }} |