Merge pull request #107397 from ncapps/feature-label-selector

Improve kubectl apply label selector message
This commit is contained in:
Kubernetes Prow Robot 2022-01-25 12:09:41 -08:00 committed by GitHub
commit 42ab2f5d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -464,7 +464,7 @@ func AddChunkSizeFlag(cmd *cobra.Command, value *int64) {
}
func AddLabelSelectorFlagVar(cmd *cobra.Command, p *string) {
cmd.Flags().StringVarP(p, "selector", "l", *p, "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)")
cmd.Flags().StringVarP(p, "selector", "l", *p, "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Matching objects must satisfy all of the specified label constraints.")
}
type ValidateOptions struct {