diff --git a/ChatQnA/benchmark/performance/helm_charts/templates/deployment.yaml b/ChatQnA/benchmark/performance/helm_charts/templates/deployment.yaml index 920e54685..4fe4fc581 100644 --- a/ChatQnA/benchmark/performance/helm_charts/templates/deployment.yaml +++ b/ChatQnA/benchmark/performance/helm_charts/templates/deployment.yaml @@ -51,7 +51,14 @@ spec: {{- end }} {{- end }} - image: {{ $microservice.image }} + {{- $image := $microservice.image }} + {{- range $podSpec := $global.podSpecs }} + {{- if eq $podSpec.name $microservice.name }} + {{- $image = $podSpec.image | default $microservice.image }} + {{- end }} + {{- end }} + image: {{ $image }} + imagePullPolicy: IfNotPresent name: {{ $microservice.name }}