util/client.go: add method to specify pod security admission level#26938
Conversation
1f5505b to
d61cf48
Compare
|
/retest |
71a3443 to
f0b7d3c
Compare
|
/hold |
|
holding to verify e2e tests |
|
/hold cancel |
|
/hold |
|
This is blocked until we have the newest k8s bump available in origin. The bump was reverted in #26939 because SDN e2e tests broke. There is work in progress in openshift/kubernetes#1228 to unskip those tests. Once merged we can continue here. |
test/extended/util/client.go
Outdated
|
|
||
| // NewCLIWithPodSecurityEnforceLevel initializes the CLI the same way as `NewCLI()` | ||
| // but the given pod security level is applied to the created e2e test namespace. | ||
| func NewCLIWithPodSecurityEnforceLevel(project string, level admissionapi.Level) *CLI { |
There was a problem hiding this comment.
non-binding, but if it were me, I would have three methods: NewCLIWithRestrictedNamespace, NewCLIWithBaselineNamespace, NewCLIWithPrivilegedNamespace
|
/approve |
|
/hold |
f0b7d3c to
bb6b5aa
Compare
|
blocked by #26955 |
bb6b5aa to
3f37075
Compare
8e2908c to
221096d
Compare
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
0da2730 to
2d3a370
Compare
| "fmt" | ||
| "io" | ||
| "io/ioutil" | ||
| "k8s.io/client-go/util/retry" |
There was a problem hiding this comment.
let's see how CI goes, i don't want to risk another e2e failure rush. i'll address in a followup
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, s-urbaniak, soltysh, stlaz 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 |
|
/retest-required |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
10 similar comments
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
/retest-required Please review the full test history for this PR and help us cut down flakes. |
|
@s-urbaniak: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
/cc @stlaz @tkashem @soltysh @deads2k