api-proxy-secrets.yml.j2 321 B

123456789101112
  1. ---
  2. apiVersion: v1
  3. kind: Secret
  4. metadata:
  5. name: contiv-api-proxy-secret
  6. namespace: kube-system
  7. labels:
  8. name: contiv-api-proxy-secret
  9. # Use data+b64encode, because stringData doesn't preserve newlines.
  10. data:
  11. api_proxy_key.pem: "{{ key | b64encode }}"
  12. api_proxy_cert.pem: "{{ cert | b64encode }}"