Skip to content

Instantly share code, notes, and snippets.

@Gangareddy
Last active April 8, 2019 20:30
Show Gist options
  • Save Gangareddy/ab77c3ebe6336a13fd6392c08a6c4ba8 to your computer and use it in GitHub Desktop.
Save Gangareddy/ab77c3ebe6336a13fd6392c08a6c4ba8 to your computer and use it in GitHub Desktop.
Step 1) Apply CRDS
kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.6/deploy/manifests/00-crds.yaml
Step 2) Label namespace
kubectl label namespace cert-manager certmanager.k8s.io/disable-validation="true"
Step 3) Create Helm Chart
helm install --name cert-manager \
stable/cert-manager \
--namespace cert-manager \
--set ingressShim.defaultIssuerName=letsencrypt-staging \
--set ingressShim.defaultIssuerKind=ClusterIssuer
Step 4) Create ClusterIssuers
kubectl create --edit -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.7/docs/tutorials/acme/quick-start/example/production-issuer.yaml
(Modify Issuer to ClusterIssuer)
kubectl create --edit -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.7/docs/tutorials/acme/quick-start/example/staging-issuer.yaml
(Modify Issuer to ClusterIssuer)
Step 5) Verify ClusterIssuers
k get clusterissuers.certmanager.k8s.io
// Make sure port 80 is open for letsEncrypt to communicate while issuing a cert
Step 6) Create DNS and add the following to your ingress annotations.
certmanager.k8s.io/cluster-issuer: letsencrypt-prod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment