Skip to content

Commit

Permalink
Revert "Update gateway types to v1 (linkerd#79)" (linkerd#84)
Browse files Browse the repository at this point in the history
* Revert "Update gateway types to v1 (linkerd#79)"

This reverts commit ec91fde.

* Revert README change

Signed-off-by: Mark S <[email protected]>
  • Loading branch information
olix0r authored and the-wondersmith committed Apr 23, 2024
1 parent 57e728d commit d0b6d7f
Show file tree
Hide file tree
Showing 12 changed files with 229 additions and 1,015 deletions.
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

0 comments on commit d0b6d7f

Please sign in to comment.