소스 검색

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 }}