Jelajahi Sumber

charts/syncthing - fix wrong service type (#2209)

Stavros Kois 1 tahun lalu
induk
melakukan
d0d50c12c1

+ 1 - 1
library/ix-dev/charts/syncthing/Chart.yaml

@@ -3,7 +3,7 @@ description: Syncthing is a continuous file synchronization program.
 annotations:
   title: Syncthing
 type: application
-version: 2.0.1
+version: 2.0.2
 apiVersion: v2
 appVersion: 1.27.3
 kubeVersion: '>=1.16.0-0'

+ 4 - 1
library/ix-dev/charts/syncthing/templates/_service.tpl

@@ -3,22 +3,25 @@ service:
   syncthing:
     enabled: true
     primary: true
-    type: ClusterIP
+    type: NodePort
     targetSelector: syncthing
     ports:
       webui:
         enabled: true
         primary: true
         port: {{ .Values.syncthingNetwork.webPort }}
+        nodePort: {{ .Values.syncthingNetwork.webPort }}
         targetSelector: syncthing
       sync-tcp:
         enabled: true
         port: {{ .Values.syncthingNetwork.tcpPort }}
+        nodePort: {{ .Values.syncthingNetwork.tcpPort }}
         targetPort: 22000
         targetSelector: syncthing
       sync-udp:
         enabled: true
         port: {{ .Values.syncthingNetwork.udpPort }}
+        nodePort: {{ .Values.syncthingNetwork.udpPort }}
         targetPort: 22000
         protocol: udp
         targetSelector: syncthing