From e4b45d944d54c239e1ad40af17221420f349c4f8 Mon Sep 17 00:00:00 2001 From: Andrew Sy Kim Date: Mon, 26 Oct 2020 10:24:16 -0400 Subject: [PATCH] apiserver: use canonical egress selection names in EgressSelectorConfiguration API docs Signed-off-by: Andrew Sy Kim --- staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go | 4 ++-- .../src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go | 4 ++-- .../src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go index f0614be3a00..197ce653731 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go @@ -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 diff --git a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go index 53e5595967f..49509bf22c7 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go @@ -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 diff --git a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go index 03bac01bd7d..ea22b403a33 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go @@ -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