use shuffle-workers for worker name

Signed-off-by: Pascal Sthamer <pascal+github@sthamer.xyz>
This commit is contained in:
Pascal Sthamer
2025-12-05 16:35:02 +01:00
parent fb07662d7a
commit 825b55c3e9
@@ -1,9 +1,17 @@
{{/* {{/*
Return the common name for worker components Return the common name for worker components
*/}} */}}
{{/*
Shuffle currently hardcodes the shuffle-workers:33333 address at some places.
Until that can be properly configured, we make sure that the worker deployment and service
are named exactly the same as the deployment and service that orborus would create.
{{- define "shuffle.worker.name" -}} {{- define "shuffle.worker.name" -}}
{{- printf "%s-worker" (include "common.names.fullname" .) | trunc 63 -}} {{- printf "%s-worker" (include "common.names.fullname" .) | trunc 63 -}}
{{- end -}} {{- end -}}
*/}}
{{- define "shuffle.worker.name" -}}
shuffle-workers
{{- end -}}
{{/* {{/*
Return the common labels for worker components deployed via helm. Return the common labels for worker components deployed via helm.