-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make metallb image repos configurable (#6671) #6672
make metallb image repos configurable (#6671) #6672
Conversation
Hi @dlouks. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
/ok-to-test |
can you please rebase your branch on top of latest master? I think you hit a bug that has been fixed in master |
@dlouks If you are still around, sorry about that but could you remove the #issue in the commit message ? (pr number will be added and with that link to the issue) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just few comments
/cc @oomichi
@@ -122,6 +122,8 @@ cert_manager_enabled: false | |||
|
|||
# MetalLB deployment | |||
metallb_enabled: false | |||
# metallb_speaker_image_repo: "{{ docker_image_repo }}/metallb/speaker" | |||
# metallb_controller_image_repo: "{{ docker_image_repo }}/metallb/controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is not any other addons which contain docker_image_repo
under inventory/sample.
Is this necessary for metallb?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oomichi The reasoning behind making this change for metallb is for installing it on a cluster without internet access. If there is a different or preferred way to support this I can update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dlouks Sorry, my previous comment was not clear.
I don't have a question about this PR itself.
I have a question about adding the above lines into inventory/sample/group_vars/k8s-cluster/addons.yml because there are not any lines which contain docker_image_repo
under inventory/sample/
directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what you mean. I've removed those commented lines from the addon.yml.
@@ -1,5 +1,7 @@ | |||
--- | |||
metallb_enabled: false | |||
metallb_speaker_image_repo: "{{ docker_image_repo }}/metallb/speaker" | |||
metallb_controller_image_repo: "{{ docker_image_repo }}/metallb/controller" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All repo definitions are written on roles/download/defaults/main.yml like
dashboard_metrics_scraper_repo: "{{ docker_image_repo }}/kubernetesui/metrics-scraper"
at this time. Why don't we write like the existing ones instead of roles/kubernetes-apps/metallb/defaults/main.yml ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've moved these variables to the download role's defaults
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing that, I confirmed it.
@dlouks Could you please rebase master ? the CI error you got is now fixed |
gpgcheck: yes | ||
gpgkey: "http://widehat.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_$releasever/repodata/repomd.xml.key" | ||
gpgkey: "http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_$releasever/repodata/repomd.xml.key" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file change has been already merged as #6682
Can you pull the latest master branch and rebase this PR based on the latest one?
That will remove this part from the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I got it this time. I must have done a git pull --rebase before.
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dlouks, Miouge1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* 'master' of https://github.com/kubernetes-sigs/kubespray: (21 commits) Make sure node_ip is set if node is in etcd group (kubernetes-sigs#6719) Fix order of OS CI cleanup (kubernetes-sigs#6714) Remove vagrant.deb from docker image (kubernetes-sigs#6717) Move floruyt to approver (kubernetes-sigs#6713) Add support for periodic CI (kubernetes-sigs#6715) Ignore pause from kubeadm config images list (kubernetes-sigs#6689) Ignore error in check mode when disabling swap (kubernetes-sigs#6703) flannel image arch specific tag (kubernetes-sigs#6685) Added missing permissions for operator. (kubernetes-sigs#6683) Add Kubernetes hashes 1.19.2/1.18.9/1.17.12 and set default (kubernetes-sigs#6698) Cleanup virsh volumes in Vagrant CI (kubernetes-sigs#6688) Use "kubeadm join" to join masters to control plane (kubernetes-sigs#6661) Remove workaround with kube_proxy_remove (kubernetes-sigs#6512) fix incorrect documentation of use_access_ip (kubernetes-sigs#6674) make metallb image repos configurable (kubernetes-sigs#6671) (kubernetes-sigs#6672) fix remove node (kubernetes-sigs#6666) Allow configuration of nodelabels in local_volume_provisioner (kubernetes-sigs#6620) Add support for Calico CNI host-local IPAM plugin (kubernetes-sigs#6580) Update third party librairies and tools (kubernetes-sigs#6669) Updated KataContainers version to 1.11.3 (kubernetes-sigs#6694) ...
…tes-sigs#6672) * Make metallb image repos configurable * Moved metallb image repo definitions to download role defaults * Removed comment. These are set in download defaults
What type of PR is this?
/kind feature
What this PR does / why we need it: Metallb's image tag does not allow one to specify a different repo url
Which issue(s) this PR fixes:
Fixes #6671
Special notes for your reviewer:
Does this PR introduce a user-facing change?: no