summaryrefslogtreecommitdiffstats
path: root/roles/contiv/templates/api-proxy-secrets.yml.j2
blob: cd800c97da5c15131d92be65aa39617bf6931c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
apiVersion: v1
kind: Secret
metadata:
    name: contiv-api-proxy-secret
    namespace: kube-system
    labels:
      name: contiv-api-proxy-secret
# Use data+b64encode, because stringData doesn't preserve newlines.
data:
    api_proxy_key.pem: "{{ key | b64encode }}"
    api_proxy_cert.pem: "{{ cert | b64encode }}"