-
Notifications
You must be signed in to change notification settings - Fork 66
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
Support k8s 1.28 #1630
Support k8s 1.28 #1630
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1630 +/- ##
==========================================
- Coverage 75.48% 75.44% -0.04%
==========================================
Files 166 166
Lines 15078 15082 +4
==========================================
- Hits 11381 11379 -2
- Misses 3399 3405 +6
Partials 298 298
|
02e1677
to
7a6e3cf
Compare
ca19553
to
3848509
Compare
a9d1d54
to
35ad6a3
Compare
Reviewing! |
if event != nil { | ||
ae = event | ||
ac := audit.AuditContextFrom(ctx) |
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.
So, if event
is nil
, nothing gets created, but this still works? Though we said that Events
are no longer pointers?
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.
But ac.Event = *event
is a pointer, and seems to work?
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.
…apiv2' - OpenAPIV3 discovery of aggregate APIs seems to need a little more work in K8s 1.28
35ad6a3
to
ca05969
Compare
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.
Given we consider:
- API Discovery (
kubectl explain
) should work for OpenAPIv3 and aggregate APIs #1643 - Aggregate APIs should not have name
Generic API Server
#1645
before our next release I'm good with this!
See https://www.pivotaltracker.com/story/show/185846474 for details.
NOTE: As of 2023-08-20, this has several commits that have workarounds to support things that changed in K8s 1.28. Please review this PR commit-by-commit.