Skip to content

Commit 5bfec48

Browse files
authored
update image pull prefix for operands (#998)
Signed-off-by: Rob Hundley <[email protected]>
1 parent 714fd69 commit 5bfec48

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

helm/templates/10-deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,13 @@ spec:
251251
- name: cluster_name
252252
value: ""
253253
- name: ICP_PLATFORM_AUTH_IMAGE
254-
value: {{ .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/icp-platform-auth:{{ .Values.operands.platformAuthService.imageTag }}
254+
value: {{ .Values.cpfs.imagePullPrefix | default .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/icp-platform-auth:{{ .Values.operands.platformAuthService.imageTag }}
255255
- name: ICP_IDENTITY_PROVIDER_IMAGE
256-
value: {{ .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/icp-identity-provider:{{ .Values.operands.platformIdentityProvider.imageTag }}
256+
value: {{ .Values.cpfs.imagePullPrefix | default .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/icp-identity-provider:{{ .Values.operands.platformIdentityProvider.imageTag }}
257257
- name: ICP_IDENTITY_MANAGER_IMAGE
258-
value: {{ .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/icp-identity-manager:{{ .Values.operands.platformIdentityManagement.imageTag }}
258+
value: {{ .Values.cpfs.imagePullPrefix | default .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/icp-identity-manager:{{ .Values.operands.platformIdentityManagement.imageTag }}
259259
- name: IM_INITCONTAINER_IMAGE
260-
value: {{ .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/im-initcontainer:{{ .Values.operands.imInitContainer.imageTag }}
260+
value: {{ .Values.cpfs.imagePullPrefix | default .Values.global.imagePullPrefix }}/{{ .Values.cpfs.imageRegistryNamespaceOperand }}/im-initcontainer:{{ .Values.operands.imInitContainer.imageTag }}
261261
- name: IMAGE_PULL_SECRET
262262
value: {{ .Values.global.imagePullSecret }}
263263
{{- $watchNamespaces := .Values.global.tetheredNamespaces | default list -}}

0 commit comments

Comments
 (0)