Unprivileged user conformance test#4071
Conversation
This adds a test to validate that a container specified user is respected when executed within Knative. Fixes knative#3223
knative-prow-robot
left a comment
There was a problem hiding this comment.
@dgerd: 1 warning.
Details
In response to this:
This adds a test to validate that a container specified user is
respected when executed within Knative.Fixes #3223
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.
| names.Service = test.ObjectNameForTest(t) | ||
| if names.Image == "" { | ||
| names.Image = runtime | ||
| } else if names.Image != runtimeUnprivileged { |
There was a problem hiding this comment.
The function won't work unless the service returns the expected runtime image response. I put it there mostly for easy debugging if an unexpected image is passed in.
I thought about adding an unprivileged bool/enum rather than using the resource names, but it felt worse.
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
1 similar comment
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the ℹ️ Googlers: Go here for more info. |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
|
/assign @mattmoor |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dgerd, mattmoor The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Unprivileged user conformance test This adds a test to validate that a container specified user is respected when executed within Knative. Fixes knative#3223 * Capitalization fix * Code Review comments
This adds a test to validate that a container specified user is
respected when executed within Knative.
Fixes #3223