浏览代码

Fix error

zhanghongtong 5 年之前
父节点
当前提交
c8da6fdac1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      deploy/chart/kuiper/templates/sevice.yaml

+ 2 - 2
deploy/chart/kuiper/templates/sevice.yaml

@@ -8,13 +8,13 @@ metadata:
 spec:
   type: {{ .Values.service.type }}
   ports:
-  - name: restPort
+  - name: rest-port
     {{ $restPort := index .Values "kuiperConfig" "kuiper.yaml" "basic" "restPort" }}
     port:  {{ $restPort | default 9081 }}
     protocol: TCP
     targetPort:  {{ $restPort | default 9081 }}
   - name: port
-    {{ $restPort := index .Values "kuiperConfig" "kuiper.yaml" "basic" "port" }}
+    {{ $port := index .Values "kuiperConfig" "kuiper.yaml" "basic" "port" }}
     port:  {{ $port | default 20498 }}
     protocol: TCP
     targetPort:  {{ $port | default 20498 }}