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:
parent
4595f2cf30
commit
e74a5c803c
6 changed files with 65 additions and 48 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue