1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

adding a note to deprecate name in favour of names (#2096)

Signed-off-by: RinkiyaKeDad <arshsharma461@gmail.com>
This commit is contained in:
Arsh Sharma 2021-07-07 00:04:06 +05:30 committed by GitHub
parent 4595f2cf30
commit e74a5c803c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 65 additions and 48 deletions

View file

@ -145,9 +145,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -388,9 +389,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -1730,9 +1732,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -1973,9 +1976,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array

View file

@ -147,9 +147,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -390,9 +391,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array

View file

@ -148,9 +148,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -391,9 +392,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array

View file

@ -165,9 +165,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -408,9 +409,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -1778,9 +1780,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -2021,9 +2024,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array

View file

@ -152,9 +152,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -395,9 +396,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -1737,9 +1739,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array
@ -1980,9 +1983,10 @@ spec:
many characters) and "?" (at least one character).
type: string
names:
description: Names are the names of the resources. Each
name supports wildcard characters "*" (matches zero
or many characters) and "?" (at least one character).
description: 'Names are the names of the resources.
Each name supports wildcard characters "*" (matches
zero or many characters) and "?" (at least one character).
NOTE: "Name" is being deprecated in favor of "Names".'
items:
type: string
type: array

View file

@ -265,6 +265,7 @@ type ResourceDescription struct {
// Names are the names of the resources. Each name supports wildcard characters
// "*" (matches zero or many characters) and "?" (at least one character).
// NOTE: "Name" is being deprecated in favor of "Names".
// +optional
Names []string `json:"names,omitempty" yaml:"names,omitempty"`