| #{{ if not .Values.disableAaiModelLoaderService }} |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: model-loader-prop-configmap |
| namespace: {{ .Values.nsPrefix }}-aai |
| data: |
| {{ tpl (.Files.Glob "resources/config/model-loader/appconfig/model-loader.properties").AsConfig . | indent 2 }} |
| --- |
| apiVersion: v1 |
| kind: Secret |
| metadata: |
| name: model-loader-secret |
| namespace: {{ .Values.nsPrefix }}-aai |
| type: Opaque |
| data: |
| {{ tpl (.Files.Glob "resources/config/model-loader/appconfig/auth/*").AsSecrets . | indent 2 }} |
| --- |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: aai-model-loader-log-configmap |
| namespace: {{ .Values.nsPrefix }}-aai |
| data: |
| {{ tpl (.Files.Glob "resources/config/log/model-loader/logback.xml").AsConfig . | indent 2 }} |
| #{{ end }} |