nginx-secret.yaml 341 B

12345678910
  1. apiVersion: v1
  2. kind: Secret
  3. metadata:
  4. name: {{ include "nginx.secretName" . }}
  5. type: Opaque
  6. data:
  7. {{ if eq (include "nginx.certAvailable" .) "true" }}
  8. certPublicKey: {{ (include "nginx.cert.publicKey" .) | toString | b64enc | quote }}
  9. certPrivateKey: {{ (include "nginx.cert.privateKey" .) | toString | b64enc | quote }}
  10. {{ end }}