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: