Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (34 sloc) 1.38 KB
syntax = "proto3";
option go_package = "";
import "gogoproto/gogo.proto";
option (gogoproto.equal_all) = true;
import "";
// specifies a method by which to select pods
// with in a mesh for the application of rules and policies
message PodSelector {
// select pods by their labels
message LabelSelector {
map<string, string> labels_to_match = 1;
// select pods based on their services or subsets of services.
// upstream CRDs will be created by discovery corresponding to
// kubernetes services and the available subsets of those services
message UpstreamSelector {
// apply the selector to one or more of their upstreams by adding their refs here
repeated upstreams = 1 [(gogoproto.nullable) = false];
// select all pods in these namespaces
message NamespaceSelector {
repeated string namespaces = 1;
// specify the type of selector to use with selectorType
oneof selector_type {
// select pods by their labels
LabelSelector label_selector = 1;
// select pods by their corresponding upstreams
UpstreamSelector upstream_selector = 2;
// select all pods within one or more namespaces
NamespaceSelector namespace_selector = 3;
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.