aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates/modelloader-deployment-configmap.yaml
blob: e5a59a124d968e33fe09efedc2ccacee2835d159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#{{ 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 }}