Skip to content

Commit

Permalink
Update gateway types to v1 (linkerd#79)
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Mark S <[email protected]>
  • Loading branch information
adleong authored and the-wondersmith committed Apr 27, 2024
1 parent a3f52d6 commit ea8c044
Show file tree
Hide file tree
Showing 11 changed files with 1,013 additions and 227 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
repository: kubernetes-sigs/gateway-api
ref: 4f86f0bd65173b04dadb558f63fbbd53330736d2 # 0.5.0-rc1
ref: a0684982eddeb0360e215e0de322c3210ac49bb9 # v1.0.0
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: 5
timeout-minutes: 20
runs-on: ubuntu-latest
container: docker://ghcr.io/linkerd/dev:v39-rust
steps:
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ k8s-openapi = { version = "0.19", features = ["schemars"] }
schemars = { version = "0.8", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"

[dev-dependencies.k8s-openapi]
version = "0.19"
Expand Down
1 change: 1 addition & 0 deletions integration/tests/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ 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: 2 additions & 0 deletions integration/tests/httproute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ async fn round_trip() {
]),
filters: None,
matches: None,
timeouts: None,
},
HttpRouteRule {
matches: Some(vec![HttpRouteMatch {
Expand All @@ -58,6 +59,7 @@ async fn round_trip() {
filters: None,
}]),
filters: None,
timeouts: None,
},
]),
..HttpRouteSpec::default()
Expand Down
Loading

0 comments on commit ea8c044

Please sign in to comment.