Skip to content

Conversation

cfryanr
Copy link
Contributor

@cfryanr cfryanr commented Sep 25, 2025

This PR is a proof of concept for how to replace audit.AuditEventFrom using changes from kubernetes/kubernetes#133765.

Kubernetes 1.34 libraries removed this public function, and kubernetes/kubernetes#133765 is a PR to bring back similar functionality as a new public function so we can make use of it.

This PR mainly shows how to update the impersonator unit tests. I did not try to make necessary updates to other code related to bumping to Kubernetes 1.34 libraries in this PR, so I do not expect this PR to build or pass tests.

Release note:

NONE

Copy link

netlify bot commented Sep 25, 2025

Deploy Preview for pinniped-dev canceled.

Name Link
🔨 Latest commit 18b1f3d
🔍 Latest deploy log https://app.netlify.com/projects/pinniped-dev/deploys/68d58e39208b35000874293a

sigs.k8s.io/yaml v1.6.0
)

replace k8s.io/apiserver => ../kubernetes-fork/staging/src/k8s.io/apiserver
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Obviously, this replace statement is only for proof of concept. I had cloned kubernetes/kubernetes#133765 locally at this location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant