summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/templates/secrets.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/consul/templates/secrets.yaml')
-rw-r--r--kubernetes/consul/templates/secrets.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/consul/templates/secrets.yaml b/kubernetes/consul/templates/secrets.yaml
new file mode 100644
index 0000000000..2535437329
--- /dev/null
+++ b/kubernetes/consul/templates/secrets.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-certs-secret
+ namespace: {{ include "common.namespace" . }}
+data:
+{{ tpl (.Files.Glob "resources/config/consul-agent-config/certs/*").AsSecrets . | indent 2 }}