-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
move creation of dev devices in /chroot/dev from build image to run image #8619
Conversation
…mage, means from chroot.sh to Docherfile.chroot as the docker COPY command seems to make ordinary files from /dev/*
@rba: This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The 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. |
Welcome @rba! |
Hi @rba. Thanks for your PR. I'm waiting for a kubernetes 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. |
/ok-to-test |
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rba, rikatz 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 |
…mage, means from chroot.sh to Docherfile.chroot as the docker COPY command seems to make ordinary files from /dev/* (kubernetes#8619)
What this PR does / why we need it:
While using the chroot ingress described in https://kubernetes.io/blog/2022/04/28/ingress-nginx-1-2-0/ we've got the following errors:
Inspecting
/chroot/dev/urandom
shows that it's a file instead of a character device:It seems that the docker COPY from the build to the run image is not able to copy the character special files correctly:
$ docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock wagoodman/dive:latest gcr.io/k8s-staging-ingress-nginx/controller-chroot:v1.2.0
After the change the image looks as follows:
Types of changes
Which issue/s this PR fixes
n/a
How Has This Been Tested?
Some basic testing has been done based on getting-started.md and this seems to be fine.
Checklist: