Skip to content

Commit ff4db68

Browse files
committed
Update docs n examples
1 parent 8bccd1a commit ff4db68

File tree

6 files changed

+13
-45
lines changed

6 files changed

+13
-45
lines changed

kubernetes-setup-dns-cert-https/certificate.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: certmanager.k8s.io/v1alpha1
1+
apiVersion: cert-manager.io/v1alpha2
22
kind: ClusterIssuer
33
metadata:
44
name: letsencrypt-prod
@@ -7,9 +7,12 @@ spec:
77
# The ACME server URL
88
server: https://acme-v02.api.letsencrypt.org/directory
99
# Email address used for ACME registration
10-
email: 'rickard.robin@gmail.com'
10+
email: 'yourname@your-email.com'
1111
# Name of a secret used to store the ACME account private key
1212
privateKeySecretRef:
1313
name: letsencrypt-prod
1414
# Enable the HTTP-01 challenge provider
15-
http01: {}
15+
solvers:
16+
- http01:
17+
ingress:
18+
class: nginx

kubernetes-setup-dns-cert-https/staging-certificate.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
apiVersion: certmanager.k8s.io/v1alpha1
2-
kind: ClusterIssuer
1+
apiVersion: cert-manager.io/v1alpha2
2+
kind: ClusterIssuer # Issuer
33
metadata:
44
name: letsencrypt-staging
55
spec:
66
acme:
77
# The ACME server URL
88
server: https://acme-staging-v02.api.letsencrypt.org/directory
99
# Email address used for ACME registration
10-
email: rille111@gmail.com
10+
email: 'yourname@your-email.com'
1111
# Name of a secret used to store the ACME account private key
1212
privateKeySecretRef:
1313
name: letsencrypt-staging
1414
# Enable the HTTP-01 challenge provider
15-
http01: {}
15+
solvers:
16+
- http01:
17+
ingress:
18+
class: nginx

0 commit comments

Comments
 (0)