kubernetes-installation/k8s/cm-clusterissuer.yaml

18 lines
562 B
YAML
Raw Normal View History

2021-12-29 10:33:22 +07:00
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-production
spec:
acme:
# Remember to update this if you use this manifest to obtain real certificates :)
email: sombochea100@gmail.com
#server: https://acme-staging-v02.api.letsencrypt.org/directory
# To use the production environment, use the following line instead:
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: issuer-letsencrypt-production
solvers:
- http01:
ingress:
class: traefik