aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates/consul-agent-configmap.yaml
blob: 0f37f50eeafdef0ca89febb300eb694f212a0089 (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
#{{ if not .Values.disableConsulConsulAgent }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: consul-agent-configmap
  namespace: {{ .Values.nsPrefix }}
data:
{{ tpl (.Files.Glob "resources/config/consul-agent-config/*").AsConfig . | indent 2 }}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: consul-agent-scripts-configmap
  namespace: {{ .Values.nsPrefix }}
data:
{{ tpl (.Files.Glob "resources/config/consul-agent-config/scripts/*").AsConfig . | indent 2 }}
---
apiVersion: v1
kind: Secret
metadata:
  name: consul-agent-certs-secret
  namespace: {{ .Values.nsPrefix }}
data:
{{ tpl (.Files.Glob "resources/config/consul-agent-config/certs/*").AsSecrets . | indent 2 }}
#{{ end }}