KubeZero/charts/kubezero-istio/templates/ingress-certificate.yaml

15 lines
334 B
YAML

{{- if .Values.ingress.dnsNames }}
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: public-ingress-cert
namespace: istio-system
spec:
secretName: public-ingress-cert
issuerRef:
name: letsencrypt-dns-prod
kind: ClusterIssuer
dnsNames:
{{ toYaml .Values.ingress.dnsNames | indent 4 }}
{{- end }}