Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api/policies.kyverno.io/v1alpha1/autogen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
package v1alpha1

type PodControllersGenerationConfiguration struct {
// Enabled specifies whether to generate pod controller rules.
// Optional. Defaults to "true" if not specified.
Enabled *bool `json:"enabled,omitempty"`
// Controllers specifies the list of pod controllers to generate rules for,
// for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
// Optional. Defaults to all supported pod controllers if not specified.
Controllers []string `json:"controllers,omitempty"`
}

Expand Down
5 changes: 5 additions & 0 deletions api/policies.kyverno.io/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -1573,9 +1582,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -2825,9 +2843,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -3944,9 +3971,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -5195,9 +5231,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -6314,9 +6359,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
evaluation:
Expand Down Expand Up @@ -1256,9 +1265,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
evaluation:
Expand Down Expand Up @@ -2551,9 +2569,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
evaluation:
Expand Down Expand Up @@ -3680,9 +3707,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
evaluation:
Expand Down Expand Up @@ -4974,9 +5010,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
evaluation:
Expand Down Expand Up @@ -6103,9 +6148,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
evaluation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -1573,9 +1582,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -2824,9 +2842,18 @@ spec:
controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down Expand Up @@ -3943,9 +3970,18 @@ spec:
generate a pod controllers rules.
properties:
controllers:
description: |-
Controllers specifies the list of pod controllers to generate rules for,
for example DaemonSet, Deployment, Job, StatefulSet, ReplicaSet, ReplicationController, CronJob.
Optional. Defaults to all supported pod controllers if not specified.
items:
type: string
type: array
enabled:
description: |-
Enabled specifies whether to generate pod controller rules.
Optional. Defaults to "true" if not specified.
type: boolean
type: object
type: object
credentials:
Expand Down
Loading
Loading