-
Notifications
You must be signed in to change notification settings - Fork 784
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
fix: add CONNECT operation in the webhook config for pod/exec subresource #9855
Conversation
…urce Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9855 +/- ##
=======================================
Coverage 10.15% 10.15%
=======================================
Files 1030 1030
Lines 91793 91793
=======================================
Hits 9322 9322
Misses 81452 81452
Partials 1019 1019 ☔ View full report in Codecov by Sentry. |
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.
Is there a sample policy for this? If so, do we need to update accordingly?
/cherry-pick release-1.12 |
…urce (#9855) Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
…urce (kyverno#9855) (kyverno#10179) Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Explanation
This PR checks for the
Pod/exec
subresource, and if it does exists, we return theoperations
specified by the user instead of returning back the default operations.Related issue
Closes #9829
Milestone of this PR
/milestone 1.12.0
Documentation (required for features)
My PR contains new or altered behavior to Kyverno.
What type of PR is this
/kind bug
Proposed Changes
Proof Manifests
Check the mutating webhook configuration:
Checklist
Further Comments