Add anti-affinity for envoy deployed by provisioner #9393
Annotations
10 errors and 1 warning
golangci-lint:
internal/provisioner/controller/gateway.go#L25
could not import github.com/projectcontour/contour/internal/provisioner/objects/dataplane (-: # github.com/projectcontour/contour/internal/provisioner/objects/dataplane
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L437
undefined: Weight
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L437
cannot use int32(100) (constant 100 of type int32) as "k8s.io/api/core/v1".WeightedPodAffinityTerm value in array or slice literal
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L439
unknown field LabelSelector in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L440
unknown field TopologyKey in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}) (typecheck)
|
golangci-lint:
internal/provisioner/equality/equality_test.go#L21
could not import github.com/projectcontour/contour/internal/provisioner/objects/dataplane (-: # github.com/projectcontour/contour/internal/provisioner/objects/dataplane
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L437
undefined: Weight
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L437
cannot use int32(100) (constant 100 of type int32) as "k8s.io/api/core/v1".WeightedPodAffinityTerm value in array or slice literal
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L439
unknown field LabelSelector in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}
|
golangci-lint:
internal/provisioner/objects/dataplane/dataplane.go#L440
unknown field TopologyKey in struct literal of type struct{Weight int32 "json:\"weight\" protobuf:\"varint,1,opt,name=weight\""; PodAffinityTerm "k8s.io/api/core/v1".PodAffinityTerm "json:\"podAffinityTerm\" protobuf:\"bytes,2,opt,name=podAffinityTerm\""}) (typecheck)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading