clusterissuer-letsencrypt-prod.yaml 612 B

1234567891011121314151617181920
  1. {{- if and .Values.ingress.create (eq .Values.ingress.type "nginx-ssl") -}}
  2. apiVersion: cert-manager.io/v1alpha2
  3. kind: ClusterIssuer
  4. metadata:
  5. name: letsencrypt-website-prod
  6. spec:
  7. acme:
  8. # The ACME server URL
  9. server: https://acme-v02.api.letsencrypt.org/directory
  10. # Email address used for ACME registration
  11. email: {{ .Values.ingress.email }}
  12. # Name of a secret used to store the ACME account private key
  13. privateKeySecretRef:
  14. name: letsencrypt-website-prod
  15. # Enable the HTTP-01 challenge provider
  16. solvers:
  17. - http01:
  18. ingress:
  19. class: nginx
  20. {{- end -}}