From e4f77b283cc09f4dc69a20f94be15d760aa4674e Mon Sep 17 00:00:00 2001 From: Max Roby Date: Thu, 23 Nov 2023 09:54:30 +0100 Subject: [PATCH] fix service name generation in post-install hook --- k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml index 465bb6690..5848af34d 100644 --- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml +++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml @@ -28,9 +28,9 @@ spec: - name: WEED_CLUSTER_DEFAULT value: "sw" - name: WEED_CLUSTER_SW_MASTER - value: "seaweedfs-master.seaweedfs:9333" + value: "{{ template "seaweedfs.name" . }}-master.{{ .Release.Namespace }}:9333" - name: WEED_CLUSTER_SW_FILER - value: "seaweedfs-filer-client.seaweedfs:8888" + value: "{{ template "seaweedfs.name" . }}-filer-client.{{ .Release.Namespace }}:8888" - name: POD_IP valueFrom: fieldRef: