From e149366451ccf374582b1f68e7bc4f95f3658767 Mon Sep 17 00:00:00 2001 From: Ryan W <60849886+twentybit@users.noreply.github.com> Date: Sat, 13 Sep 2025 17:09:36 +0100 Subject: [PATCH] Fixing service name in helm chart and making default values unopinionated (#1166) --- .../beszel-hub/charts/templates/service.yaml | 2 +- .../kubernetes/beszel-hub/charts/values.yaml | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/supplemental/kubernetes/beszel-hub/charts/templates/service.yaml b/supplemental/kubernetes/beszel-hub/charts/templates/service.yaml index 0f1c962..bfc0207 100644 --- a/supplemental/kubernetes/beszel-hub/charts/templates/service.yaml +++ b/supplemental/kubernetes/beszel-hub/charts/templates/service.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: {{ include "beszel.fullname" . }}-web + name: {{ include "beszel.fullname" . }} labels: {{- include "beszel.labels" . | nindent 4 }} {{- if .Values.service.annotations }} diff --git a/supplemental/kubernetes/beszel-hub/charts/values.yaml b/supplemental/kubernetes/beszel-hub/charts/values.yaml index dcacc46..dabae71 100644 --- a/supplemental/kubernetes/beszel-hub/charts/values.yaml +++ b/supplemental/kubernetes/beszel-hub/charts/values.yaml @@ -30,14 +30,10 @@ securityContext: {} service: enabled: true - type: LoadBalancer - loadBalancerIP: "10.0.10.251" + annotations: {} + type: ClusterIP + loadBalancerIP: "" port: 8090 -# -- Annotations for the DHCP service - annotations: - metallb.universe.tf/address-pool: pool - metallb.universe.tf/allow-shared-ip: beszel-hub-web - # -- Labels for the DHCP service ingress: enabled: false @@ -96,7 +92,7 @@ persistentVolumeClaim: accessModes: - ReadWriteOnce - storageClass: "retain-local-path" + storageClass: "" # -- volume claim size size: "500Mi"