Skip to content

Commit cea14eb

Browse files
authored
🛠️ Try using a name-based index for the container.
Kustomize docs claim this should work but I'm not sure if a specific version is required.
1 parent b4c2053 commit cea14eb

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[0].image
26+
fieldpath: spec.template.spec.containers.[name=manager].image

0 commit comments

Comments
 (0)