From 25d211369f7653777a09698ba730102d8695fcf3 Mon Sep 17 00:00:00 2001 From: yaraskm <62650344+yaraskm@users.noreply.github.com> Date: Wed, 1 Mar 2023 16:59:38 -0500 Subject: [PATCH] Leverage the svc name pattern for client lookup as well --- k8s/helm/templates/job.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/helm/templates/job.yaml b/k8s/helm/templates/job.yaml index 3b3bd9e5..d8c00c59 100644 --- a/k8s/helm/templates/job.yaml +++ b/k8s/helm/templates/job.yaml @@ -14,7 +14,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} args: - "{{ .Values.warpConfiguration.operationToBenchmark }}" - - "--warp-client=warp-{0...{{ sub .Values.replicaCount 1 }}}.warp.{{ .Release.Namespace }}" + - "--warp-client={{ include "warp.fullname" . }}-{0...{{ sub .Values.replicaCount 1 }}}.{{ include "warp.fullname" . }}.{{ .Release.Namespace }}" {{- range $k, $v := .Values.warpJobArgs }} - --{{ $k }}={{ $v }} {{- end }}