diff options
author | 2018-03-20 13:49:54 +0000 | |
---|---|---|
committer | 2018-03-20 13:49:54 +0000 | |
commit | f7c77bfc3add6c94c8f018e270beea993beefea5 (patch) | |
tree | c81275e60d837161d6f2072e9ab12e82fbee2e66 /kubernetes/consul/templates/consul-agent-configmap.yaml | |
parent | 1695fb61d7389cc624403016c94e750ff50c8d5f (diff) | |
parent | 85d9d73270f01d0770c29e8516dd0154669e9cf5 (diff) |
Merge "Move consul config from shared NFS to configmap"
Diffstat (limited to 'kubernetes/consul/templates/consul-agent-configmap.yaml')
-rw-r--r-- | kubernetes/consul/templates/consul-agent-configmap.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/kubernetes/consul/templates/consul-agent-configmap.yaml b/kubernetes/consul/templates/consul-agent-configmap.yaml new file mode 100644 index 0000000000..0f37f50eea --- /dev/null +++ b/kubernetes/consul/templates/consul-agent-configmap.yaml @@ -0,0 +1,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 }} |