Support Gateway Selection using Ingress Labels #1475
knative-verify.yaml
on: pull_request
verify
/
Verify Deps and Codegen
3m 30s
Annotations
3 errors and 2 warnings
verify / Verify Deps and Codegen:
go.mod#L1
Please run ./hack/update-codegen.sh.
diff --git a/go.mod b/go.mod
index a0045ee..5f1d1ef 100644
--- a/go.mod
+++ b/go.mod
@@ -16,6 +16,7 @@ require (
knative.dev/hack v0.0.0-20240123162936-f3f03ac0ab1a
knative.dev/networking v0.0.0-20240116081125-ce0738abf051
knative.dev/pkg v0.0.0-20240116073220-b488e7be5902
+ sigs.k8s.io/yaml v1.4.0
)
require (
@@ -92,5 +93,4 @@ require (
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
- sigs.k8s.io/yaml v1.4.0 // indirect
)
|
verify / Verify Deps and Codegen:
pkg/reconciler/ingress/config/zz_generated.deepcopy.go#L1
Please run ./hack/update-codegen.sh.
diff --git a/pkg/reconciler/ingress/config/zz_generated.deepcopy.go b/pkg/reconciler/ingress/config/zz_generated.deepcopy.go
index a1ccb44..3a56fdd 100644
--- a/pkg/reconciler/ingress/config/zz_generated.deepcopy.go
+++ b/pkg/reconciler/ingress/config/zz_generated.deepcopy.go
@@ -21,9 +21,18 @@ limitations under the License.
package config
+import (
+ v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Gateway) DeepCopyInto(out *Gateway) {
*out = *in
+ if in.LabelSelector != nil {
+ in, out := &in.LabelSelector, &out.LabelSelector
+ *out = new(v1.LabelSelector)
+ (*in).DeepCopyInto(*out)
+ }
return
}
@@ -43,12 +52,16 @@ func (in *Istio) DeepCopyInto(out *Istio) {
if in.IngressGateways != nil {
in, out := &in.IngressGateways, &out.IngressGateways
*out = make([]Gateway, len(*in))
- copy(*out, *in)
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
}
if in.LocalGateways != nil {
in, out := &in.LocalGateways, &out.LocalGateways
*out = make([]Gateway, len(*in))
- copy(*out, *in)
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
}
return
}
|
verify / Verify Deps and Codegen
Process completed with exit code 1.
|
verify / Verify Deps and Codegen
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
verify / Verify Deps and Codegen
Restore cache failed: Dependencies file is not found in /home/runner/work/net-istio/net-istio. Supported file pattern: go.sum
|