|
|
@@ -1,5 +1,5 @@
|
|
|
{{- if and .Values.ingress.create (eq .Values.ingress.type "nginx-ssl") -}}
|
|
|
-apiVersion: certmanager.k8s.io/v1alpha1
|
|
|
+apiVersion: cert-manager.io/v1alpha2
|
|
|
kind: ClusterIssuer
|
|
|
metadata:
|
|
|
name: letsencrypt-website-prod
|
|
|
@@ -13,5 +13,8 @@ spec:
|
|
|
privateKeySecretRef:
|
|
|
name: letsencrypt-website-prod
|
|
|
# Enable the HTTP-01 challenge provider
|
|
|
- http01: {}
|
|
|
+ solvers:
|
|
|
+ - http01:
|
|
|
+ ingress:
|
|
|
+ class: nginx
|
|
|
{{- end -}}
|