Skip to content

Commit

Permalink
Merge branch 'main' into generate-foreach-4
Browse files Browse the repository at this point in the history
  • Loading branch information
realshuting authored Sep 4, 2024
2 parents f990f4f + d9c676b commit 9e0a9d1
Show file tree
Hide file tree
Showing 15 changed files with 961 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/kyverno/v1/resource_description_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
)

// ResourceDescription contains criteria used to match resources.
// +kubebuilder:not:={required:{name,names}}
type ResourceDescription struct {
// Kinds is a list of resource kinds.
// +optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -571,6 +575,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -786,6 +794,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -993,6 +1005,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -1603,6 +1619,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -1810,6 +1830,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -2025,6 +2049,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -2232,6 +2260,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -571,6 +575,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -786,6 +794,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -993,6 +1005,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -1603,6 +1619,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -1810,6 +1830,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -2025,6 +2049,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down Expand Up @@ -2232,6 +2260,10 @@ spec:
resources:
description: ResourceDescription contains information about
the resource being created or modified.
not:
required:
- name
- names
properties:
annotations:
additionalProperties:
Expand Down
Loading

0 comments on commit 9e0a9d1

Please sign in to comment.