blob: 0f37f50eeafdef0ca89febb300eb694f212a0089 [file] [log] [blame]
jasmineWen85d9d732018-03-06 16:13:35 +00001#{{ if not .Values.disableConsulConsulAgent }}
2apiVersion: v1
3kind: ConfigMap
4metadata:
5 name: consul-agent-configmap
6 namespace: {{ .Values.nsPrefix }}
7data:
8{{ tpl (.Files.Glob "resources/config/consul-agent-config/*").AsConfig . | indent 2 }}
9---
10apiVersion: v1
11kind: ConfigMap
12metadata:
13 name: consul-agent-scripts-configmap
14 namespace: {{ .Values.nsPrefix }}
15data:
16{{ tpl (.Files.Glob "resources/config/consul-agent-config/scripts/*").AsConfig . | indent 2 }}
17---
18apiVersion: v1
19kind: Secret
20metadata:
21 name: consul-agent-certs-secret
22 namespace: {{ .Values.nsPrefix }}
23data:
24{{ tpl (.Files.Glob "resources/config/consul-agent-config/certs/*").AsSecrets . | indent 2 }}
25#{{ end }}