diff --git a/pkg/apis/policy/types.go b/pkg/apis/policy/types.go index 166e4239677..d3851cb9a14 100644 --- a/pkg/apis/policy/types.go +++ b/pkg/apis/policy/types.go @@ -28,8 +28,8 @@ type PodDisruptionBudgetSpec struct { // can be either an integer or a string specifying a percentage, e.g. "28%". MinAvailable intstr.IntOrString `json:"minAvailable,omitempty"` - // Selector is a label query over pods whose evictions are managed by the - // disruption budget. + // Label query over pods whose evictions are managed by the disruption + // budget. Selector *unversioned.LabelSelector `json:"selector,omitempty"` } diff --git a/pkg/apis/policy/v1alpha1/types.go b/pkg/apis/policy/v1alpha1/types.go index 55b640f9d77..baf5d9e1648 100644 --- a/pkg/apis/policy/v1alpha1/types.go +++ b/pkg/apis/policy/v1alpha1/types.go @@ -29,8 +29,8 @@ type PodDisruptionBudgetSpec struct { // can be either an integer or a string specifying a percentage, e.g. "28%". MinAvailable intstr.IntOrString `json:"minAvailable,omitempty" protobuf:"bytes,1,opt,name=minAvailable"` - // Selector is a label query over pods whose evictions are managed by the - // disruption budget. + // Label query over pods whose evictions are managed by the disruption + // budget. Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` }