2020-05-06 14:03:33 +00:00
|
|
|
{{- if .Values.clusterIssuer.name }}
|
2020-11-21 12:24:57 +00:00
|
|
|
apiVersion: cert-manager.io/v1
|
2020-05-06 14:03:33 +00:00
|
|
|
kind: ClusterIssuer
|
|
|
|
metadata:
|
|
|
|
name: {{ .Values.clusterIssuer.name }}
|
2020-05-19 10:57:24 +00:00
|
|
|
labels:
|
|
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
2020-05-06 14:03:33 +00:00
|
|
|
spec:
|
|
|
|
acme:
|
|
|
|
server: {{ .Values.clusterIssuer.server }}
|
|
|
|
email: {{ .Values.clusterIssuer.email }}
|
|
|
|
privateKeySecretRef:
|
|
|
|
name: {{ .Values.clusterIssuer.name }}
|
|
|
|
solvers:
|
|
|
|
{{ toYaml .Values.clusterIssuer.solvers | indent 6 }}
|
|
|
|
{{- end }}
|