apiserver: use canonical egress selection names in EgressSelectorConfiguration API docs

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
Andrew Sy Kim 2020-10-26 10:24:16 -04:00
parent 5a09325864
commit e4b45d944d
3 changed files with 6 additions and 6 deletions

View File

@ -62,8 +62,8 @@ type EgressSelectorConfiguration struct {
// EgressSelection provides the configuration for a single egress selection client.
type EgressSelection struct {
// Name is the name of the egress selection.
// Currently supported values are "ControlPlane", "Master", "Etcd" and "Cluster"
// The "Master" egress selector is deprecated in favor of "ControlPlane"
// Currently supported values are "controlplane", "master", "etcd" and "cluster"
// The "master" egress selector is deprecated in favor of "controlplane"
Name string
// Connection is the exact information used to configure the egress selection

View File

@ -62,8 +62,8 @@ type EgressSelectorConfiguration struct {
// EgressSelection provides the configuration for a single egress selection client.
type EgressSelection struct {
// name is the name of the egress selection.
// Currently supported values are "ControlPlane", "Master", "Etcd" and "Cluster"
// The "Master" egress selector is deprecated in favor of "ControlPlane"
// Currently supported values are "controlplane", "master", "etcd" and "cluster"
// The "master" egress selector is deprecated in favor of "controlplane"
Name string `json:"name"`
// connection is the exact information used to configure the egress selection

View File

@ -33,8 +33,8 @@ type EgressSelectorConfiguration struct {
// EgressSelection provides the configuration for a single egress selection client.
type EgressSelection struct {
// name is the name of the egress selection.
// Currently supported values are "ControlPlane", "Master", "Etcd" and "Cluster"
// The "Master" egress selector is deprecated in favor of "ControlPlane"
// Currently supported values are "controlplane", "master", "etcd" and "cluster"
// The "master" egress selector is deprecated in favor of "controlplane"
Name string `json:"name"`
// connection is the exact information used to configure the egress selection