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

healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new cc4638aef [INLONG-4144][K8s] Fix the HTTP error appears on the login 
dashboard when deploying InLong using helm (#4163)
cc4638aef is described below

commit cc4638aef240cc1e1e51932b8a2a96562331fee9
Author: eason.wt <[email protected]>
AuthorDate: Wed May 11 13:12:51 2022 +0800

    [INLONG-4144][K8s] Fix the HTTP error appears on the login dashboard when 
deploying InLong using helm (#4163)
    
    * HTTP error appears on the login dashboard when deploying InLong using helm
    
    * Fix bug in dashboard statefulset and bump chart version
    
    issue: #4144
    
    Co-authored-by: Yuanhao Ji <[email protected]>
---
 docker/kubernetes/Chart.yaml                           | 2 +-
 docker/kubernetes/templates/dashboard-statefulset.yaml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docker/kubernetes/Chart.yaml b/docker/kubernetes/Chart.yaml
index b5a9591c6..4baf24128 100644
--- a/docker/kubernetes/Chart.yaml
+++ b/docker/kubernetes/Chart.yaml
@@ -29,7 +29,7 @@ keywords:
 
 # The chart version number should be incremented each time you make changes
 # to the chart and its templates.
-version: 2.0.1
+version: 2.0.2
 
 # This is the version number of the application being deployed. This version 
number should be
 # incremented each time you make changes to the application.
diff --git a/docker/kubernetes/templates/dashboard-statefulset.yaml 
b/docker/kubernetes/templates/dashboard-statefulset.yaml
index 4404abc7f..a7c18ba3e 100644
--- a/docker/kubernetes/templates/dashboard-statefulset.yaml
+++ b/docker/kubernetes/templates/dashboard-statefulset.yaml
@@ -25,7 +25,7 @@ metadata:
     component: {{ .Values.dashboard.component }}
 spec:
   serviceName: {{ template "inlong.fullname" . }}-{{ 
.Values.dashboard.component }}
-  replicas: {{ .Values.tubemqManager.replicas }}
+  replicas: {{ .Values.dashboard.replicas }}
   selector:
     matchLabels:
       {{- include "inlong.matchLabels" . | nindent 6 }}
@@ -85,7 +85,7 @@ spec:
           {{- end }}
           env:
             - name: MANAGER_API_ADDRESS
-              value: "{{ template "inlong.tubemqManager.hostname" .}}:{{ 
.Values.tubemqManager.port }}"
+              value: "{{ template "inlong.manager.hostname" . }}:{{ 
.Values.manager.port }}"
           ports:
             - name: {{ .Values.dashboard.component }}-port
               containerPort: 80

Reply via email to