Skip to content

Commit

Permalink
Flannel: fix init container image arch (kubernetes-sigs#9461)
Browse files Browse the repository at this point in the history
The install-cni-plugin image was not updated to the corresponding
arch when building the different DS.

Fixes issue kubernetes-sigs#9460

Signed-off-by: Fred Rolland <frolland@nvidia.com>

Signed-off-by: Fred Rolland <frolland@nvidia.com>
  • Loading branch information
rollandf authored and enneitex committed Jan 25, 2023
1 parent afcc4c9 commit 90a8dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/network_plugin/flannel/templates/cni-flannel.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ spec:
- {{ arch }}
initContainers:
- name: install-cni-plugin
image: {{ flannel_init_image_repo }}:{{ flannel_init_image_tag }}
image: {{ flannel_init_image_repo }}:{{ flannel_init_image_tag | regex_replace(image_arch,'') }}{{ arch }}
command:
- cp
args:
Expand Down

0 comments on commit 90a8dde

Please sign in to comment.