platform/deploy/letsencrypt.yaml
Andrey Platov 2cc2f5c700
k8s deployment use secret
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
2021-10-23 02:05:45 +02:00

19 lines
490 B
YAML

apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt-prod
spec:
acme:
# The ACME server URL
server: https://acme-v02.api.letsencrypt.org/directory
# Email address used for ACME registration
email: andrey@hardcoreeng.com
# Name of a secret used to store the ACME account private key
privateKeySecretRef:
name: letsencrypt-prod
# Enable the HTTP-01 challenge provider
solvers:
- http01:
ingress:
class: nginx