From 75e383d92646a0d4ba30b3f51ae2f216484bcbba Mon Sep 17 00:00:00 2001 From: Dis <397465+disconn3ct@users.noreply.github.com> Date: Sat, 23 Jul 2022 09:38:12 -0400 Subject: [PATCH] feat: ser2sock: use a headless service Since these generally talk to individual instances of physical hardware, it is unlikely that a user intends load balancing of multiple instances to multiple devices. Using a headless service (`clusterIP: None`) removes the k8s load balancer and allows clients to talk directly to the ser2sock pod via the service name. --- charts/stable/ser2sock/Chart.yaml | 2 +- charts/stable/ser2sock/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/stable/ser2sock/Chart.yaml b/charts/stable/ser2sock/Chart.yaml index bb822c41..ec969dfe 100644 --- a/charts/stable/ser2sock/Chart.yaml +++ b/charts/stable/ser2sock/Chart.yaml @@ -18,7 +18,7 @@ maintainers: dependencies: - name: common repository: https://library-charts.k8s-at-home.com - version: 4.4.2 + version: 4.5.0 annotations: artifacthub.io/changes: |- - kind: changed diff --git a/charts/stable/ser2sock/values.yaml b/charts/stable/ser2sock/values.yaml index ea10476e..7a4d1e77 100644 --- a/charts/stable/ser2sock/values.yaml +++ b/charts/stable/ser2sock/values.yaml @@ -29,6 +29,8 @@ env: # @default -- See values.yaml service: main: + type: ClusterIP + clusterIP: None ports: http: enabled: false