Created
June 29, 2020 20:49
-
-
Save egeneralov/1ff39e8029b04ed9b46c0611fb3c1cf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.14.0/cert-manager.crds.yaml | |
helm install cert-manager jetstack/cert-manager --namespace cert-manager --version v0.14.0 --set installCRDs=true | |
cat << EOF | kubectl apply -n cert-manager -f - | |
apiVersion: cert-manager.io/v1alpha2 | |
kind: Issuer | |
metadata: | |
name: letsencrypt-prod | |
namespace | |
spec: | |
acme: | |
email: [email protected] | |
server: https://acme-v02.api.letsencrypt.org/directory | |
privateKeySecretRef: | |
name: egeneralov | |
solvers: | |
- http01: | |
ingress: | |
class: nginx | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment