Skip to content

Conversation

@adleong
Copy link
Member

@adleong adleong commented Feb 10, 2025

This change removes our dependency on the hand-rolled kubernetes gateway API bindings from the k8s-gateway-api crate and replaces them with the official generated bindings from the gateway-api crate.

@olix0r olix0r changed the base branch from main to ver/kube-alpha February 10, 2025 17:27
Signed-off-by: Alex Leong <[email protected]>
olix0r and others added 7 commits February 18, 2025 00:07
kubert v0.23.0 includes updates to several core dependencies, including:

* http v1
* hyper v1
* kube v0.98
* prometheus-client v0.23
* tonic v0.12
* tower v0.5

This change updates the policy controller to use these new versions.

The k8s-gateway-api dependency is temporarily pinned to a git repository
in anticipation of adopting an alternate crate backend.
Signed-off-by: Alex Leong <[email protected]>
Signed-off-by: Alex Leong <[email protected]>
Signed-off-by: Alex Leong <[email protected]>
@adleong adleong changed the title [DNM] Use upstream gateway-api types refactor(policy): Use gateway API bindings from the official gateway-api crate Feb 19, 2025
Base automatically changed from ver/kube-alpha to main February 19, 2025 19:12
Signed-off-by: Alex Leong <[email protected]>
@adleong adleong marked this pull request as ready for review February 19, 2025 20:38
@adleong adleong requested a review from a team as a code owner February 19, 2025 20:38
Signed-off-by: Alex Leong <[email protected]>
Signed-off-by: Alex Leong <[email protected]>
Signed-off-by: Alex Leong <[email protected]>
Signed-off-by: Alex Leong <[email protected]>
Signed-off-by: Alex Leong <[email protected]>
"clap",
"index",
"lease",
"runtime-diagnostics",
Copy link
Member

Choose a reason for hiding this comment

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

let's do this in a followup

Suggested change
"runtime-diagnostics",

Copy link
Member

@olix0r olix0r left a comment

Choose a reason for hiding this comment

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

I think we also probably want to update the dependabot.yaml to group this dep with our other kube deps.

Signed-off-by: Alex Leong <[email protected]>
@adleong adleong merged commit 4c471cf into main Feb 26, 2025
43 checks passed
@adleong adleong deleted the alex/kube-alpha branch February 26, 2025 20:40
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.

3 participants