Skip to content

Commit

Permalink
gateway-api bump to v0.6.0-rc1 (istio#42244)
Browse files Browse the repository at this point in the history
howardjohn authored Dec 2, 2022
1 parent f12430c commit 8548a35
Showing 21 changed files with 464 additions and 86 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ require (
k8s.io/kubectl v0.25.3
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85
sigs.k8s.io/controller-runtime v0.13.0
sigs.k8s.io/gateway-api v0.5.1-0.20221110151456-3daef509bcc9
sigs.k8s.io/gateway-api v0.6.0-rc1
sigs.k8s.io/mcs-api v0.1.0
sigs.k8s.io/yaml v1.3.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1642,8 +1642,8 @@ sigs.k8s.io/controller-runtime v0.6.1/go.mod h1:XRYBPdbf5XJu9kpS84VJiZ7h/u1hF3gE
sigs.k8s.io/controller-runtime v0.13.0 h1:iqa5RNciy7ADWnIc8QxCbOX5FEKVR3uxVxKHRMc2WIQ=
sigs.k8s.io/controller-runtime v0.13.0/go.mod h1:Zbz+el8Yg31jubvAEyglRZGdLAjplZl+PgtYNI6WNTI=
sigs.k8s.io/controller-tools v0.3.0/go.mod h1:enhtKGfxZD1GFEoMgP8Fdbu+uKQ/cq1/WGJhdVChfvI=
sigs.k8s.io/gateway-api v0.5.1-0.20221110151456-3daef509bcc9 h1:DxW1glPU1tW2IGq8wdAWCmRwWfZrdJpZamyLUvUzGlk=
sigs.k8s.io/gateway-api v0.5.1-0.20221110151456-3daef509bcc9/go.mod h1:x0AP6gugkFV8fC/oTlnOMU0pnmuzIR8LfIPRVUjxSqA=
sigs.k8s.io/gateway-api v0.6.0-rc1 h1:ierhK6SIK8pSibB+gkr+aG8cWLez/M7iD9dQIqLALxU=
sigs.k8s.io/gateway-api v0.6.0-rc1/go.mod h1:+3QMzP775JFKArHqiwk/kzItMRXW9CKPXcO8QcuXvvk=
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k=
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/kind v0.8.1/go.mod h1:oNKTxUVPYkV9lWzY6CVMNluVq8cBsyq+UgPJdvA3uu4=
4 changes: 4 additions & 0 deletions pilot/pkg/config/kube/gateway/conversion.go
Original file line number Diff line number Diff line change
@@ -1581,6 +1581,10 @@ func buildListener(r ConfigContext, obj config.Config, l k8s.Listener, listenerI
reason: string(k8s.ListenerReasonAccepted),
message: "No errors found",
},
string(k8s.ListenerConditionProgrammed): {
reason: string(k8s.ListenerReasonProgrammed),
message: "No errors found",
},
// nolint: staticcheck // Deprecated condition, set both until 1.17
string(k8s.ListenerConditionDetached): {
reason: string(k8s.ListenerReasonAttached),
Original file line number Diff line number Diff line change
@@ -66,6 +66,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -89,6 +94,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
15 changes: 15 additions & 0 deletions pilot/pkg/config/kube/gateway/testdata/eastwest.status.yaml.golden
Original file line number Diff line number Diff line change
@@ -41,6 +41,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -72,6 +77,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -103,6 +113,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
25 changes: 25 additions & 0 deletions pilot/pkg/config/kube/gateway/testdata/invalid.status.yaml.golden
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -116,6 +121,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -176,6 +186,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -234,6 +249,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -291,6 +311,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: invalid certificate reference core/unknown/my-cert-http., only secret
is allowed
5 changes: 5 additions & 0 deletions pilot/pkg/config/kube/gateway/testdata/mcs.status.yaml.golden
Original file line number Diff line number Diff line change
@@ -43,6 +43,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -61,6 +61,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -92,6 +97,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -43,6 +43,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -56,6 +56,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -89,6 +94,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -120,6 +130,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -151,6 +166,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -180,6 +200,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Original file line number Diff line number Diff line change
@@ -41,6 +41,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
5 changes: 5 additions & 0 deletions pilot/pkg/config/kube/gateway/testdata/tcp.status.yaml.golden
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
15 changes: 15 additions & 0 deletions pilot/pkg/config/kube/gateway/testdata/tls.status.yaml.golden
Original file line number Diff line number Diff line change
@@ -58,6 +58,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -89,6 +94,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
@@ -120,6 +130,11 @@ status:
reason: Attached
status: "False"
type: Detached
- lastTransitionTime: fake
message: No errors found
reason: Programmed
status: "True"
type: Programmed
- lastTransitionTime: fake
message: No errors found
reason: Ready
Loading
Oops, something went wrong.

0 comments on commit 8548a35

Please sign in to comment.