This is an automated email from the ASF dual-hosted git repository.

chengshiwen pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 5e343d3  [Fix-5719][K8s] Fix Ingress tls: got map expected array On 
TLS enabled On Kubernetes
5e343d3 is described below

commit 5e343d3fd21ceb2bf141e7b70524b5b3eb5fb87b
Author: AzureCN <[email protected]>
AuthorDate: Tue Jul 20 11:21:34 2021 +0800

    [Fix-5719][K8s] Fix Ingress tls: got map expected array On TLS enabled On 
Kubernetes
    
    [Fix-5719][K8s] Fix Ingress tls: got map expected array On TLS enabled On 
Kubernetes
---
 docker/kubernetes/dolphinscheduler/templates/ingress.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docker/kubernetes/dolphinscheduler/templates/ingress.yaml 
b/docker/kubernetes/dolphinscheduler/templates/ingress.yaml
index 7a8d6ac..0fa1a8b 100644
--- a/docker/kubernetes/dolphinscheduler/templates/ingress.yaml
+++ b/docker/kubernetes/dolphinscheduler/templates/ingress.yaml
@@ -49,8 +49,8 @@ spec:
           {{- end }}
   {{- if .Values.ingress.tls.enabled }}
   tls:
-    hosts:
+    - hosts:
       - {{ .Values.ingress.host }}
-    secretName: {{ .Values.ingress.tls.secretName }}
+      secretName: {{ .Values.ingress.tls.secretName }}
   {{- end }}
-{{- end }}
\ No newline at end of file
+{{- end }}

Reply via email to