video-iac/k8s/cert-manager/cluster-issuer-nginx.yaml

21 lines
654 B
YAML
Raw Permalink Normal View History

2021-10-28 18:35:43 +00:00
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
2021-10-30 17:05:05 +00:00
name: letsencrypt-nginx-production
2021-10-28 18:35:43 +00:00
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: victor.barba.martin@toptal.com
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
2021-10-31 12:36:53 +00:00
name: nginx-issuer-account-key
2021-10-28 18:35:43 +00:00
# Add a single challenge solver, HTTP01 using nginx
solvers:
- http01:
ingress:
2021-10-30 17:05:05 +00:00
class: nginx
2021-10-28 18:35:43 +00:00