Browse Source

Flannel: fix init container image arch (#9461)

The install-cni-plugin image was not updated to the corresponding
arch when building the different DS.

Fixes issue #9460

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

Signed-off-by: Fred Rolland <frolland@nvidia.com>
pull/9453/head
Fred Rolland 2 years ago
committed by GitHub
parent
commit
58faef6ff6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/flannel/templates/cni-flannel.yml.j2

2
roles/network_plugin/flannel/templates/cni-flannel.yml.j2

@ -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:

Loading…
Cancel
Save