17 lines
393 B
YAML
17 lines
393 B
YAML
{{- if .Values.ingress.dnsNames }}
|
|
apiVersion: cert-manager.io/v1alpha2
|
|
kind: Certificate
|
|
metadata:
|
|
name: public-ingress-cert
|
|
namespace: istio-system
|
|
labels:
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
|
spec:
|
|
secretName: public-ingress-cert
|
|
issuerRef:
|
|
name: letsencrypt-dns-prod
|
|
kind: ClusterIssuer
|
|
dnsNames:
|
|
{{ toYaml .Values.ingress.dnsNames | indent 4 }}
|
|
{{- end }}
|