blob: 9337f551b884b133fdc312a7c1b2c46431c0f23d [file] [log] [blame]
mayankg2703135d8912018-02-06 10:28:00 +00001#{{ if not .Values.disableAaiModelLoaderService }}
2apiVersion: v1
3kind: ConfigMap
4metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +00005 name: aai-model-loader-prop-configmap
6 namespace: {{ .Values.nsPrefix }}
mayankg2703135d8912018-02-06 10:28:00 +00007data:
8{{ tpl (.Files.Glob "resources/config/model-loader/appconfig/model-loader.properties").AsConfig . | indent 2 }}
9---
10apiVersion: v1
11kind: Secret
12metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +000013 name: aai-model-loader-secret
14 namespace: {{ .Values.nsPrefix }}
mayankg2703135d8912018-02-06 10:28:00 +000015type: Opaque
16data:
17{{ tpl (.Files.Glob "resources/config/model-loader/appconfig/auth/*").AsSecrets . | indent 2 }}
mayankg270333e3cc02018-02-07 05:56:34 +000018---
19apiVersion: v1
20kind: ConfigMap
21metadata:
22 name: aai-model-loader-log-configmap
BorislavG8bfc6cf2018-02-27 15:04:26 +000023 namespace: {{ .Values.nsPrefix }}
mayankg270333e3cc02018-02-07 05:56:34 +000024data:
25{{ tpl (.Files.Glob "resources/config/log/model-loader/logback.xml").AsConfig . | indent 2 }}
mayankg2703135d8912018-02-06 10:28:00 +000026#{{ end }}