helm-chart: Fix headless service #976

Merged
maximilien merged 2 commits from :headless-svc into main 2025-03-07 12:17:21 +00:00
Contributor

Fix headless service.

Fix headless service.
babykart added 1 commit 2025-03-05 19:28:06 +00:00
helm-chart: Fix headless service
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful
0ce5f7eb00
Signed-off-by: babykart <babykart@gmail.com>
maximilien reviewed 2025-03-07 09:15:09 +00:00
@ -6,7 +6,7 @@ metadata:
labels:
{{- include "garage.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
Owner

To define a headless Service, you make a Service with .spec.type set to ClusterIP (which is also the default for type), and you additionally set .spec.clusterIP to None.

Maybe better to explicitly set this to ClusterIP.

> To define a headless Service, you make a Service with .spec.type set to ClusterIP (which is also the default for type), and you additionally set .spec.clusterIP to None. Maybe better to explicitly set this to ClusterIP.
Author
Contributor

this doesn't matter because ClusterIP is the default type for a kubernetes service.

this doesn't matter because ClusterIP is the default type for a kubernetes service.
maximilien added 1 commit 2025-03-07 09:17:07 +00:00
Explicitely set ClusterIP on headless service type
All checks were successful
ci/woodpecker/pr/debug Pipeline was successful
d605c4fed1
Signed-off-by: maximilien <maximilien@deuxfleurs.fr>
maximilien self-assigned this 2025-03-07 09:19:15 +00:00
maximilien merged commit 98e56490a1 into main 2025-03-07 12:17:21 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#976
No description provided.