-
Notifications
You must be signed in to change notification settings - Fork 41.1k
Make PSA host enforcement honor emulation version #133176
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
Make PSA host enforcement honor emulation version #133176
Conversation
a130f0f
to
f02c160
Compare
/lgtm Good catch. |
LGTM label has been added. Git tree hash: 0770fb633503eb27e07498b5939f91626b460ec7
|
will follow-up in 1.35 with #133178 to make admission and PSA emulation-version-aware generally |
Thanks @liggitt for the quick fix! |
/retest I think I've seen this flake before on another PR |
verify is a real failure, need to run |
f02c160
to
27e1675
Compare
grrr... done |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jpbetz, liggitt 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 |
LGTM label has been added. Git tree hash: 84d27985cf03fd0d3381057195856869e8de1ccf
|
/retest |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
@@ -713,6 +713,12 @@ const ( | |||
// Denies pod admission if static pods reference other API objects. | |||
PreventStaticPodAPIReferences featuregate.Feature = "PreventStaticPodAPIReferences" | |||
|
|||
// owner: @tssurya |
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.
thank you for adding the gate!
@@ -73,7 +74,21 @@ func CheckHostProbesAndHostLifecycle() Check { | |||
} | |||
} | |||
|
|||
// TODO(liggitt): rework this to make emulation version influence "latest" across all checks, instead of piece-mill feature gate checking. | |||
var skipProbeHostEnforcement = &atomic.Bool{} |
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.
thanks for doing this stopgap to fix the CI!
What type of PR is this?
/kind bug
/kind cleanup
/kind feature
What this PR does / why we need it:
Follow up to #125271 to make the new PSA check honor emulation version by skipping the new check added in 1.34 when emulating a prior minor.
Special notes for your reviewer:
Does this PR introduce a user-facing change?
/cc @deads2k @tssurya
/sig auth