Skip to content

Comments

util/client.go: add method to specify pod security admission level#26938

Merged
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
s-urbaniak:pod-security-levels
Apr 9, 2022
Merged

util/client.go: add method to specify pod security admission level#26938
openshift-merge-robot merged 2 commits intoopenshift:masterfrom
s-urbaniak:pod-security-levels

Conversation

@s-urbaniak
Copy link
Contributor

@openshift-ci openshift-ci bot requested review from deads2k, soltysh, stlaz and tkashem March 28, 2022 12:13
@s-urbaniak s-urbaniak force-pushed the pod-security-levels branch from 1f5505b to d61cf48 Compare March 28, 2022 12:16
@openshift-ci openshift-ci bot added the vendor-update Touching vendor dir or related files label Mar 28, 2022
@stlaz
Copy link
Contributor

stlaz commented Mar 28, 2022

/retest
infra issues

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 28, 2022
@s-urbaniak s-urbaniak force-pushed the pod-security-levels branch 2 times, most recently from 71a3443 to f0b7d3c Compare March 29, 2022 08:53
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 29, 2022
@s-urbaniak
Copy link
Contributor Author

/hold

@s-urbaniak
Copy link
Contributor Author

holding to verify e2e tests

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 29, 2022
@s-urbaniak
Copy link
Contributor Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 29, 2022
@s-urbaniak
Copy link
Contributor Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 29, 2022
@s-urbaniak
Copy link
Contributor Author

s-urbaniak commented Mar 29, 2022

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.


// 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 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-binding, but if it were me, I would have three methods: NewCLIWithRestrictedNamespace, NewCLIWithBaselineNamespace, NewCLIWithPrivilegedNamespace

@deads2k
Copy link
Contributor

deads2k commented Mar 29, 2022

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 29, 2022
@s-urbaniak
Copy link
Contributor Author

/hold

@s-urbaniak s-urbaniak force-pushed the pod-security-levels branch from f0b7d3c to bb6b5aa Compare March 31, 2022 09:42
@s-urbaniak
Copy link
Contributor Author

blocked by #26955

@s-urbaniak s-urbaniak force-pushed the pod-security-levels branch from bb6b5aa to 3f37075 Compare April 5, 2022 07:56
@s-urbaniak s-urbaniak force-pushed the pod-security-levels branch 2 times, most recently from 8e2908c to 221096d Compare April 5, 2022 08:15
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 7, 2022
@s-urbaniak s-urbaniak force-pushed the pod-security-levels branch from 0da2730 to 2d3a370 Compare April 8, 2022 09:11
@openshift-ci openshift-ci bot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Apr 8, 2022
"fmt"
"io"
"io/ioutil"
"k8s.io/client-go/util/retry"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

order!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's see how CI goes, i don't want to risk another e2e failure rush. i'll address in a followup

@stlaz
Copy link
Contributor

stlaz commented Apr 8, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 8, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 8, 2022

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@stlaz
Copy link
Contributor

stlaz commented Apr 8, 2022

/retest-required

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

10 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 9, 2022

@s-urbaniak: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-single-node 2d3a370 link false /test e2e-aws-single-node
ci/prow/e2e-agnostic-cmd 2d3a370 link false /test e2e-agnostic-cmd
ci/prow/e2e-aws-single-node-upgrade 2d3a370 link false /test e2e-aws-single-node-upgrade

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 9e11596 into openshift:master Apr 9, 2022
@s-urbaniak s-urbaniak deleted the pod-security-levels branch April 9, 2022 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. vendor-update Touching vendor dir or related files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants