Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save stifydom/2c8c5c0bb7a63cd58bb039396fa9f9e9 to your computer and use it in GitHub Desktop.

Select an option

Save stifydom/2c8c5c0bb7a63cd58bb039396fa9f9e9 to your computer and use it in GitHub Desktop.

Revisions

  1. @chukaofili chukaofili created this gist May 24, 2018.
    23 changes: 23 additions & 0 deletions cert-manager-cluster-issuer.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    apiVersion: certmanager.k8s.io/v1alpha1
    kind: ClusterIssuer
    metadata:
    name: letsencrypt-staging
    spec:
    acme:
    server: https://acme-staging.api.letsencrypt.org/directory
    email: [your-email-goes-here]
    privateKeySecretRef:
    name: letsencrypt-staging
    http01: {}
    ---
    apiVersion: certmanager.k8s.io/v1alpha1
    kind: ClusterIssuer
    metadata:
    name: letsencrypt-prod
    spec:
    acme:
    server: https://acme-v01.api.letsencrypt.org/directory
    email: [your-email-goes-here]
    privateKeySecretRef:
    name: letsencrypt-prod
    http01: {}