| 1234567891011121314151617 |
- {{- if and .Values.ingress.create (eq .Values.ingress.type "nginx-ssl") -}}
- apiVersion: certmanager.k8s.io/v1alpha1
- kind: ClusterIssuer
- metadata:
- name: letsencrypt-website-prod
- spec:
- acme:
- # The ACME server URL
- server: https://acme-v02.api.letsencrypt.org/directory
- # Email address used for ACME registration
- email: {{ .Values.ingress.email }}
- # Name of a secret used to store the ACME account private key
- privateKeySecretRef:
- name: letsencrypt-prod
- # Enable the HTTP-01 challenge provider
- http01: {}
- {{- end -}}
|