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