Skip to content

Commit ec91fde

Browse files
authored
Update gateway types to v1 (#79)
Update gateway API type to v1 as defined at https://github.com/kubernetes-sigs/gateway-api/tree/main/apis/v1 Signed-off-by: Alex Leong <[email protected]>
1 parent 9e1b1b3 commit ec91fde

File tree

11 files changed

+1013
-227
lines changed

11 files changed

+1013
-227
lines changed

.github/workflows/integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
4848
with:
4949
repository: kubernetes-sigs/gateway-api
50-
ref: 4f86f0bd65173b04dadb558f63fbbd53330736d2 # 0.5.0-rc1
50+
ref: a0684982eddeb0360e215e0de322c3210ac49bb9 # v1.0.0
5151
path: gateway-api
5252
- run: kubectl apply -k gateway-api/config/crd/experimental/
5353
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717

1818
jobs:
1919
lint:
20-
timeout-minutes: 5
20+
timeout-minutes: 20
2121
runs-on: ubuntu-latest
2222
container: docker://ghcr.io/linkerd/dev:v39-rust
2323
steps:

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ k8s-openapi = { version = "0.19", features = ["schemars"] }
2121
schemars = { version = "0.8", features = ["derive"] }
2222
serde = { version = "1", features = ["derive"] }
2323
serde_json = "1"
24+
thiserror = "1"
2425

2526
[dev-dependencies.k8s-openapi]
2627
version = "0.19"

integration/tests/gateway.rs

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ async fn round_trip() {
1919
},
2020
spec: GatewaySpec {
2121
gateway_class_name: "acme-lb".to_string(),
22+
infrastructure: None,
2223
listeners: vec![Listener {
2324
protocol: "HTTPS".to_string(),
2425
port: 443,

integration/tests/httproute.rs

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ async fn round_trip() {
4141
]),
4242
filters: None,
4343
matches: None,
44+
timeouts: None,
4445
},
4546
HttpRouteRule {
4647
matches: Some(vec![HttpRouteMatch {
@@ -58,6 +59,7 @@ async fn round_trip() {
5859
filters: None,
5960
}]),
6061
filters: None,
62+
timeouts: None,
6163
},
6264
]),
6365
..HttpRouteSpec::default()

0 commit comments

Comments
 (0)