Skip to content

Instantly share code, notes, and snippets.

@sgibson91
Created November 28, 2019 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgibson91/7cae2a430c4e1a9b055159e6c3c9658e to your computer and use it in GitHub Desktop.
Save sgibson91/7cae2a430c4e1a9b055159e6c3c9658e to your computer and use it in GitHub Desktop.
cert-manager cluster issuer config file
---
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: prod
labels:
helm.sh/chart: {{ include "hub23-chart.chart" . }}
app.kubernetes.io/name: {{ include "hub23-chart.name" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: {{ .Values.letsencrypt.contactEmail }}
privateKeySecretRef:
name: prod-acme-key
http01: {}
---
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
name: staging
labels:
helm.sh/chart: {{ include "hub23-chart.chart" . }}
app.kubernetes.io/name: {{ include "hub23-chart.name" . }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
acme:
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: {{ .Values.letsencrypt.contactEmail }}
privateKeySecretRef:
name: staging-acme-key
http01: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment