Skip to content
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

Revert "Update gateway types to v1 (#79)" #84

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
repository: kubernetes-sigs/gateway-api
ref: a0684982eddeb0360e215e0de322c3210ac49bb9 # v1.0.0
ref: 4f86f0bd65173b04dadb558f63fbbd53330736d2 # 0.5.0-rc1
path: gateway-api
- run: kubectl apply -k gateway-api/config/crd/experimental/
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
lint:
timeout-minutes: 20
timeout-minutes: 5
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v42-rust
steps:
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ k8s-openapi = { version = "0.20", features = ["schemars"] }
schemars = { version = "0.8", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"

[dev-dependencies.k8s-openapi]
version = "0.20"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(Unofficial) Rust bindings for the [Kubernetes Gateway API][site].

Based on [gateway-api-v1.0.0].
Based on [gateway-api-v0.5.0-rc1].

[![Crates.io][crate-badge]][crate-url]
[![Documentation][docs-badge]][docs-url]
Expand All @@ -20,7 +20,7 @@ the *v1alpha2* types when the `experimental` feature is enabled.
* Express validation constraints
* Rustify/Linkify documentation

[gateway-api-v1.0.0]: https://github.com/kubernetes-sigs/gateway-api/tree/a0684982eddeb0360e215e0de322c3210ac49bb9
[gateway-api-v0.5.0-rc1]: https://github.com/kubernetes-sigs/gateway-api/tree/4f86f0bd65173b04dadb558f63fbbd53330736d2
[site]: https://gateway-api.sigs.k8s.io/
[crate-badge]: https://img.shields.io/crates/v/k8s-gateway-api.svg
[crate-url]: https://crates.io/crates/k8s-gateway-api
Expand Down
1 change: 0 additions & 1 deletion integration/tests/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ async fn round_trip() {
},
spec: GatewaySpec {
gateway_class_name: "acme-lb".to_string(),
infrastructure: None,
listeners: vec![Listener {
protocol: "HTTPS".to_string(),
port: 443,
Expand Down
2 changes: 0 additions & 2 deletions integration/tests/httproute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ async fn round_trip() {
]),
filters: None,
matches: None,
timeouts: None,
},
HttpRouteRule {
matches: Some(vec![HttpRouteMatch {
Expand All @@ -59,7 +58,6 @@ async fn round_trip() {
filters: None,
}]),
filters: None,
timeouts: None,
},
]),
..HttpRouteSpec::default()
Expand Down
Loading