KubeZero/charts/kubezeroCertManager/templates/cluster-issuer.yaml

15 lines
399 B
YAML
Raw Normal View History

2020-05-06 14:03:33 +00:00
{{- if .Values.clusterIssuer.name }}
apiVersion: cert-manager.io/v1alpha2
kind: ClusterIssuer
metadata:
name: {{ .Values.clusterIssuer.name }}
spec:
acme:
server: {{ .Values.clusterIssuer.server }}
email: {{ .Values.clusterIssuer.email }}
privateKeySecretRef:
name: {{ .Values.clusterIssuer.name }}
solvers:
{{ toYaml .Values.clusterIssuer.solvers | indent 6 }}
{{- end }}