1
0
Fork 0
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:
Arsh Sharma 2021-03-04 00:52:45 +05:30 committed by GitHub
parent 10c714d5ba
commit ccfe8c443c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 8 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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"`
}