Skip to content

Commit f5a2b03

Browse files
committed
fix: use controller image for var substitution
Using the 2nd container's image caused the `WAITER_IMAGE` env to be set to `kube-rbac-proxy` (if used) rather than the migrations operator image. This change works whether or not the RBAC proxy is in use.
1 parent 5de5a66 commit f5a2b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ vars:
2323
version: v1
2424
name: controller-manager
2525
fieldref:
26-
fieldpath: spec.template.spec.containers[1].image
26+
fieldpath: spec.template.spec.containers[0].image

0 commit comments

Comments
 (0)