Skip to content

Instantly share code, notes, and snippets.

@parisnakitakejser
Last active November 11, 2022 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parisnakitakejser/6eaf54c2be0d800da1c25805dd6a2b30 to your computer and use it in GitHub Desktop.
Save parisnakitakejser/6eaf54c2be0d800da1c25805dd6a2b30 to your computer and use it in GitHub Desktop.
Create SSL for your test domain.
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: my-domain-test
namespace: default
spec:
secretName: test-domain-tls
issuerRef:
name: letsencrypt-prod
duration: 2160h # 90d
renewBefore: 720h # 30d before SSL will expire, renew it
dnsNames:
- "{domain}.{tld}"
- "*.{domain}.{tld}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment