use istio client-go library instead of knative (#1661)

use istio client-go library instead of knative
bump kubernetes dependency version
change code coverage to codecov
This commit is contained in:
zryfish
2019-12-13 11:26:18 +08:00
committed by GitHub
parent f249a6e081
commit ea88c8803d
2071 changed files with 354531 additions and 108336 deletions

View File

@@ -50,14 +50,14 @@ type BGPPeerSpec struct {
ASNumber numorstring.ASNumber `json:"asNumber"`
// Selector for the nodes that should have this peering. When this is set, the Node
// field must be empty.
NodeSelector string `json:"nodeSelector,omitempty"`
NodeSelector string `json:"nodeSelector,omitempty" validate:"omitempty,selector"`
// Selector for the remote nodes to peer with. When this is set, the PeerIP and
// ASNumber fields must be empty. For each peering between the local node and
// selected remote nodes, we configure an IPv4 peering if both ends have
// NodeBGPSpec.IPv4Address specified, and an IPv6 peering if both ends have
// NodeBGPSpec.IPv6Address specified. The remote AS number comes from the remote
// nodes NodeBGPSpec.ASNumber, or the global default if that is not set.
PeerSelector string `json:"peerSelector,omitempty"`
PeerSelector string `json:"peerSelector,omitempty" validate:"omitempty,selector"`
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object