k8s let's encrypt issuer and cert creation

This commit is contained in:
2022-08-04 20:03:42 -04:00
parent 7410984c5e
commit 8c752b2b70
10 changed files with 171 additions and 11 deletions

View File

@@ -0,0 +1,20 @@
---
#https://cert-manager.io/docs/configuration/acme/#creating-a-basic-acme-issuer
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production
spec:
acme:
email: r_morgan@sympatico.ca
server: https://acme-v02.api.letsencrypt.org/directory
# disableAccountKeyGeneration: true
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: letsencrypt-production-issuer-account-key
# Add a single challenge solver, HTTP01
solvers:
- http01:
ingress:
class: traefik