From d0d50c12c1a82ce2918187b0d0358100beef0a96 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Thu, 22 Feb 2024 10:17:10 +0200 Subject: [PATCH] charts/syncthing - fix wrong service type (#2209) --- library/ix-dev/charts/syncthing/Chart.yaml | 2 +- library/ix-dev/charts/syncthing/templates/_service.tpl | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/library/ix-dev/charts/syncthing/Chart.yaml b/library/ix-dev/charts/syncthing/Chart.yaml index d785d84156..b5b595a199 100644 --- a/library/ix-dev/charts/syncthing/Chart.yaml +++ b/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' diff --git a/library/ix-dev/charts/syncthing/templates/_service.tpl b/library/ix-dev/charts/syncthing/templates/_service.tpl index acefb0d5c3..dcfbbfd07b 100644 --- a/library/ix-dev/charts/syncthing/templates/_service.tpl +++ b/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