KubeZero/charts/kubezero-cert-manager/templates/cluster-issuer.yaml

17 lines
458 B
YAML

{{- if .Values.clusterIssuer.name }}
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: {{ .Values.clusterIssuer.name }}
labels:
{{ include "kubezero-lib.labels" . | indent 4 }}
spec:
acme:
server: {{ .Values.clusterIssuer.server }}
email: {{ .Values.clusterIssuer.email }}
privateKeySecretRef:
name: {{ .Values.clusterIssuer.name }}
solvers:
{{ toYaml .Values.clusterIssuer.solvers | indent 6 }}
{{- end }}