Skip to content

Commit

Permalink
fix letsencrypt issuer template
Browse files Browse the repository at this point in the history
  • Loading branch information
davidspek committed Apr 18, 2021
1 parent d4f3ed4 commit 8714379
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions cert-manager/letsencrypt-cluster-issuer.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
name: letsencrypt-staging
spec:
acme:
# You must replace this email address with your own.
Expand All @@ -14,5 +14,22 @@ spec:
name: example-issuer-account-key
# Add a single challenge solver, HTTP01 using nginx
solvers:
- http01: {}
- dns01: {}
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
# You must replace this email address with your own.
# Let's Encrypt will use this to contact you about expiring
# certificates, and issues related to your account.
email: [email protected]
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: example-issuer-account-key
# Add a single challenge solver, HTTP01 using nginx
solvers:
- dns01: {}

0 comments on commit 8714379

Please sign in to comment.