-
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
crio container runtime crio_registries path fix #11030
crio container runtime crio_registries path fix #11030
Conversation
Hi @pedro-peter. 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. |
/kind bug |
/ok-to-test |
Thanks @pedro-peter |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pedro-peter, yankay 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 |
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 it should be better to have a dict instead of an array, and use the key for the filename instead of hijacking location or prefix like that. But it's not worth a breaking change (which it would be) so let's settle for regex_replace
.
eeac5d8
to
0f30e7d
Compare
0f30e7d
to
a9880f8
Compare
a9880f8
to
cc38314
Compare
|
cc38314
to
6c597c5
Compare
Looks ok to me but a few things:
- the release note should be more explicit about what is fixed
- you should probably rebase on master, I think the amazon Linux ci failure is fixed here
|
6c597c5
to
d0c41d4
Compare
updated release note & rebased of master. |
Please rebase, I don't think the cilium stuff is related ? |
d0c41d4
to
32aab21
Compare
32aab21
to
0a01f54
Compare
/lgtm |
thanks @VannTen |
What type of PR is this?
/kind bug
What this PR does / why we need it:
when using the crio container runtime and enabling crio_registries:
https://github.com/kubernetes-sigs/kubespray/blob/master/docs/cri-o.md#allcrioyml
if the registry prefix or location variables contain paths (e.g. location: "my-registry/location/prod") the
container-engine/cri-o : Cri-o | write registries configs task
fails.Which issue(s) this PR fixes:
Fixes #11029
Special notes for your reviewer:
the task:
https://github.com/kubernetes-sigs/kubespray/blob/master/roles/container-engine/cri-o/tasks/main.yaml#L158
replaces
:
->_
. This PR will do the same for/
. I.E. replace/
->_
inventory:
will result in file:
Does this PR introduce a user-facing change?: