mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 02:45:06 +00:00
fix: added details regarding match.resources (#1654)
* fix: added details regarding match.resources Signed-off-by: Arsh Sharma <arshsharma461@gmail.com> * fix: made revisions Signed-off-by: Arsh Sharma <arshsharma461@gmail.com> * fix: removed if not statement Signed-off-by: Arsh Sharma <arshsharma461@gmail.com>
This commit is contained in:
parent
10c714d5ba
commit
ccfe8c443c
6 changed files with 11 additions and 8 deletions
|
@ -240,7 +240,7 @@ spec:
|
|||
type: string
|
||||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about the resource being created or modified.
|
||||
description: ResourceDescription contains information about the resource being created or modified. Requires at least one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
@ -1384,7 +1384,7 @@ spec:
|
|||
type: string
|
||||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about the resource being created or modified.
|
||||
description: ResourceDescription contains information about the resource being created or modified. Requires at least one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
|
|
@ -360,7 +360,8 @@ spec:
|
|||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about
|
||||
the resource being created or modified.
|
||||
the resource being created or modified. Requires at least
|
||||
one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
|
|
@ -361,7 +361,8 @@ spec:
|
|||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about
|
||||
the resource being created or modified.
|
||||
the resource being created or modified. Requires at least
|
||||
one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
|
|
@ -245,7 +245,7 @@ spec:
|
|||
type: string
|
||||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about the resource being created or modified.
|
||||
description: ResourceDescription contains information about the resource being created or modified. Requires at least one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
@ -1389,7 +1389,7 @@ spec:
|
|||
type: string
|
||||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about the resource being created or modified.
|
||||
description: ResourceDescription contains information about the resource being created or modified. Requires at least one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
|
|
@ -245,7 +245,7 @@ spec:
|
|||
type: string
|
||||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about the resource being created or modified.
|
||||
description: ResourceDescription contains information about the resource being created or modified. Requires at least one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
@ -1389,7 +1389,7 @@ spec:
|
|||
type: string
|
||||
type: array
|
||||
resources:
|
||||
description: ResourceDescription contains information about the resource being created or modified.
|
||||
description: ResourceDescription contains information about the resource being created or modified. Requires at least one tag to be specified when under MatchResources.
|
||||
properties:
|
||||
annotations:
|
||||
additionalProperties:
|
||||
|
|
|
@ -221,6 +221,7 @@ type MatchResources struct {
|
|||
UserInfo `json:",omitempty" yaml:",omitempty"`
|
||||
|
||||
// ResourceDescription contains information about the resource being created or modified.
|
||||
// Requires at least one tag to be specified when under MatchResources.
|
||||
ResourceDescription `json:"resources,omitempty" yaml:"resources,omitempty"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue