make metallb image repos configurable (#6671) (#6672)

* Make metallb image repos configurable

* Moved metallb image repo definitions to download role defaults

* Removed comment. These are set in download defaults
pull/6759/head
David Louks 2020-09-17 04:45:13 -05:00 committed by GitHub
parent a9e11623cd
commit 3bf40d5db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -529,6 +529,9 @@ image_pull_command_on_localhost: "{{ docker_bin_dir }}/docker pull"
image_save_command_on_localhost: "{{ docker_bin_dir }}/docker save {{ image_reponame }} | gzip -{{ download_compress }} > {{ image_path_cached }}"
image_info_command_on_localhost: "{{ docker_bin_dir }}/docker images"
metallb_speaker_image_repo: "{{ docker_image_repo }}/metallb/speaker"
metallb_controller_image_repo: "{{ docker_image_repo }}/metallb/controller"
downloads:
netcheck_server:
enabled: "{{ deploy_netchecker }}"

View File

@ -317,7 +317,7 @@ spec:
secretKeyRef:
name: memberlist
key: secretkey
image: metallb/speaker:{{ metallb_version }}
image: {{ metallb_speaker_image_repo }}:{{ metallb_version }}
imagePullPolicy: Always
name: speaker
ports:
@ -373,7 +373,7 @@ spec:
- args:
- --port={{ metallb_port }}
- --config=config
image: metallb/controller:{{ metallb_version }}
image: {{ metallb_controller_image_repo }}:{{ metallb_version }}
imagePullPolicy: Always
name: controller
ports: