-headless is hardcoded here, which breaks routing via the non-headless service when service.enabled is true:
|
serviceName: {{ template "vector.fullname" . }}-headless |
This relates to #267 as I'm disabling the headless service because the chart fails to apply with annotation-driven load balancer configuration.
A possible fix is to conditionally add the -headless suffix depending on the value of serviceHeadless.enabled.