Skip to content

Instantly share code, notes, and snippets.

@amcginlay
Created October 28, 2022 15:40
Show Gist options
  • Save amcginlay/1cb5f4020419d5e39f763b31b99179f6 to your computer and use it in GitHub Desktop.
Save amcginlay/1cb5f4020419d5e39f763b31b99179f6 to your computer and use it in GitHub Desktop.
cert-manager-certificate.yaml
kubectl -n demos apply -f - << EOF
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: demo-cert-tls
spec:
dnsNames:
- demo-cert.jetstack.mcginlay.net
issuerRef:
group: cert-manager.io
kind: Issuer
name: letsencrypt-prod
secretName: demo-cert-tls
usages:
- digital signature
- key encipherment
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment