2020-07-22 19:25:18 +00:00
|
|
|
{{- if .Values.ingress.dnsNames }}
|
2020-07-21 17:30:21 +00:00
|
|
|
apiVersion: cert-manager.io/v1alpha2
|
|
|
|
kind: Certificate
|
|
|
|
metadata:
|
|
|
|
name: public-ingress-cert
|
|
|
|
namespace: istio-system
|
2020-08-06 17:43:59 +00:00
|
|
|
labels:
|
|
|
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
2020-07-21 17:30:21 +00:00
|
|
|
spec:
|
|
|
|
secretName: public-ingress-cert
|
|
|
|
issuerRef:
|
|
|
|
name: letsencrypt-dns-prod
|
|
|
|
kind: ClusterIssuer
|
|
|
|
dnsNames:
|
|
|
|
{{ toYaml .Values.ingress.dnsNames | indent 4 }}
|
2020-07-22 19:25:18 +00:00
|
|
|
{{- end }}
|