-
Notifications
You must be signed in to change notification settings - Fork 480
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
Deploy webhook in pod admission restricted mode #2016
Conversation
Welcome @jcpunk! |
Hi @jcpunk. 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. |
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.
Will need to hold momentarily until we release v0.7.0
(which is expected to happen in the next few days).
/hold
runAsUser: 2000 | ||
runAsGroup: 2000 |
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.
gateway-api/docker/Dockerfile.webhook
Line 30 in 6fee7b5
USER 65532 |
65532
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.
Interesting, I just copied the userid from certificate config. Should they both be updated to 65532
?
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 would be unique to our admission-server image.
Thanks @jcpunk! Removing hold since v0.7.0 has been removed. /hold cancel |
9f05407
to
408210f
Compare
I'm not sure why the test are failing... |
@jcpunk It failed due to yaml files check, and the error messages can be found here: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_gateway-api/2016/pull-gateway-api-verify/1658290219671097344#1:build-log.txt%3A492 |
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
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.
Seems good. Have we tested this locally?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcpunk, shaneutt 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 |
/lgtm |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR provides defaults compatible with pod admission controller restricted policy for the webhook config.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: