Skip to content

Instantly share code, notes, and snippets.

@fai555
Created August 25, 2020 00:07
Show Gist options
  • Select an option

  • Save fai555/19ed2c1077ac37ffa5440c4766d0da12 to your computer and use it in GitHub Desktop.

Select an option

Save fai555/19ed2c1077ac37ffa5440c4766d0da12 to your computer and use it in GitHub Desktop.
kubectl apply -f - <<EOF
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: cluster-issuer
spec:
acme:
email: YOUR_EMAILADDRESS@YOUR_DOMAIN.com # Do not use example.com domain email. Cert-Manager will not issue Certificate even if other configurations are correct
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
# Secret resource that will be used to store the account's private key.
name: cluster-issuer
solvers:
- http01:
ingress:
class: istio
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment