From 5f86c7e0b35a5242cd398d51da5ba8f614590a69 Mon Sep 17 00:00:00 2001 From: Varsha U N Date: Thu, 21 May 2026 14:40:40 +0530 Subject: [PATCH] feat: add interval field to BackgroundConfiguration for per-policy background scan interval Signed-off-by: Varsha U N --- api/policies.kyverno.io/v1alpha1/common.go | 11 + .../v1alpha1/zz_generated.deepcopy.go | 5 + ...es.kyverno.io_imagevalidatingpolicies.yaml | 42 ++++ .../policies.kyverno.io_mutatingpolicies.yaml | 42 ++++ ....io_namespacedimagevalidatingpolicies.yaml | 28 +++ ...kyverno.io_namespacedmutatingpolicies.yaml | 28 +++ ...verno.io_namespacedvalidatingpolicies.yaml | 28 +++ ...olicies.kyverno.io_validatingpolicies.yaml | 42 ++++ config/crds.yaml | 210 ++++++++++++++++++ ...es.kyverno.io_imagevalidatingpolicies.yaml | 42 ++++ .../policies.kyverno.io_mutatingpolicies.yaml | 42 ++++ ....io_namespacedimagevalidatingpolicies.yaml | 28 +++ ...kyverno.io_namespacedmutatingpolicies.yaml | 28 +++ ...verno.io_namespacedvalidatingpolicies.yaml | 28 +++ ...olicies.kyverno.io_validatingpolicies.yaml | 42 ++++ docs/user/crd/index.html | 17 ++ .../crd/kyverno_cel_policies.v1alpha1.html | 32 +++ 17 files changed, 695 insertions(+) diff --git a/api/policies.kyverno.io/v1alpha1/common.go b/api/policies.kyverno.io/v1alpha1/common.go index 7d7bfa5..2fd3887 100644 --- a/api/policies.kyverno.io/v1alpha1/common.go +++ b/api/policies.kyverno.io/v1alpha1/common.go @@ -1,5 +1,9 @@ package v1alpha1 +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + type EvaluationMode = string type EvaluationConfiguration struct { @@ -33,4 +37,11 @@ type BackgroundConfiguration struct { // +optional // +kubebuilder:default=true Enabled *bool `json:"enabled,omitempty"` + + // Interval defines how often background scanning is performed for this specific policy. + // Overrides the global background scan interval set at the controller level. + // The value must be a valid duration string (e.g., "15m", "1h", "30s"). + // Optional. If not set, the global background scan interval is used. + // +optional + Interval *metav1.Duration `json:"interval,omitempty"` } diff --git a/api/policies.kyverno.io/v1alpha1/zz_generated.deepcopy.go b/api/policies.kyverno.io/v1alpha1/zz_generated.deepcopy.go index be3953d..352ffff 100644 --- a/api/policies.kyverno.io/v1alpha1/zz_generated.deepcopy.go +++ b/api/policies.kyverno.io/v1alpha1/zz_generated.deepcopy.go @@ -110,6 +110,11 @@ func (in *BackgroundConfiguration) DeepCopyInto(out *BackgroundConfiguration) { *out = new(bool) **out = **in } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(v1.Duration) + **out = **in + } return } diff --git a/charts/kyverno-api/templates/crds/policies.kyverno.io_imagevalidatingpolicies.yaml b/charts/kyverno-api/templates/crds/policies.kyverno.io_imagevalidatingpolicies.yaml index 819b655..871ab4f 100644 --- a/charts/kyverno-api/templates/crds/policies.kyverno.io_imagevalidatingpolicies.yaml +++ b/charts/kyverno-api/templates/crds/policies.kyverno.io_imagevalidatingpolicies.yaml @@ -503,6 +503,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1615,6 +1622,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2858,6 +2872,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3970,6 +3991,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -5212,6 +5240,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -6324,6 +6359,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/charts/kyverno-api/templates/crds/policies.kyverno.io_mutatingpolicies.yaml b/charts/kyverno-api/templates/crds/policies.kyverno.io_mutatingpolicies.yaml index 630e89e..5686cb1 100644 --- a/charts/kyverno-api/templates/crds/policies.kyverno.io_mutatingpolicies.yaml +++ b/charts/kyverno-api/templates/crds/policies.kyverno.io_mutatingpolicies.yaml @@ -101,6 +101,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1113,6 +1120,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2288,6 +2302,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3300,6 +3321,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -4474,6 +4502,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -5486,6 +5521,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml b/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml index 6de36be..c480046 100644 --- a/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml +++ b/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml @@ -503,6 +503,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1615,6 +1622,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2857,6 +2871,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3969,6 +3990,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml b/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml index 5d7fde9..b0d5b71 100644 --- a/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml +++ b/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml @@ -101,6 +101,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1113,6 +1120,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2287,6 +2301,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3299,6 +3320,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml b/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml index f391b11..2903508 100644 --- a/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml +++ b/charts/kyverno-api/templates/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml @@ -153,6 +153,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -860,6 +867,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1715,6 +1729,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2422,6 +2443,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/charts/kyverno-api/templates/crds/policies.kyverno.io_validatingpolicies.yaml b/charts/kyverno-api/templates/crds/policies.kyverno.io_validatingpolicies.yaml index 0660142..a15261e 100644 --- a/charts/kyverno-api/templates/crds/policies.kyverno.io_validatingpolicies.yaml +++ b/charts/kyverno-api/templates/crds/policies.kyverno.io_validatingpolicies.yaml @@ -153,6 +153,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -860,6 +867,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1716,6 +1730,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2423,6 +2444,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3278,6 +3306,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3985,6 +4020,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/config/crds.yaml b/config/crds.yaml index cdd15ac..21e3625 100644 --- a/config/crds.yaml +++ b/config/crds.yaml @@ -4044,6 +4044,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -5156,6 +5163,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -6399,6 +6413,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -7511,6 +7532,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -8753,6 +8781,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -9865,6 +9900,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -10725,6 +10767,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -11737,6 +11786,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -12912,6 +12968,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -13924,6 +13987,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -15098,6 +15168,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -16110,6 +16187,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -20084,6 +20168,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -21196,6 +21287,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -22438,6 +22536,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -23550,6 +23655,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -24410,6 +24522,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -25422,6 +25541,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -26596,6 +26722,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -27608,6 +27741,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -28854,6 +28994,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -29561,6 +29708,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -30416,6 +30570,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -31123,6 +31284,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -32366,6 +32534,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -33073,6 +33248,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -33929,6 +34111,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -34636,6 +34825,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -35491,6 +35687,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -36198,6 +36401,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/config/crds/policies.kyverno.io_imagevalidatingpolicies.yaml b/config/crds/policies.kyverno.io_imagevalidatingpolicies.yaml index d7d7de3..96352e6 100644 --- a/config/crds/policies.kyverno.io_imagevalidatingpolicies.yaml +++ b/config/crds/policies.kyverno.io_imagevalidatingpolicies.yaml @@ -501,6 +501,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1613,6 +1620,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2856,6 +2870,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3968,6 +3989,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -5210,6 +5238,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -6322,6 +6357,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/config/crds/policies.kyverno.io_mutatingpolicies.yaml b/config/crds/policies.kyverno.io_mutatingpolicies.yaml index 6287c4f..c78af7a 100644 --- a/config/crds/policies.kyverno.io_mutatingpolicies.yaml +++ b/config/crds/policies.kyverno.io_mutatingpolicies.yaml @@ -99,6 +99,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1111,6 +1118,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2286,6 +2300,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3298,6 +3319,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -4472,6 +4500,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -5484,6 +5519,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/config/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml b/config/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml index a182ee4..87c26ae 100644 --- a/config/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml +++ b/config/crds/policies.kyverno.io_namespacedimagevalidatingpolicies.yaml @@ -501,6 +501,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1613,6 +1620,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2855,6 +2869,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3967,6 +3988,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/config/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml b/config/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml index d934f48..1a9b4dc 100644 --- a/config/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml +++ b/config/crds/policies.kyverno.io_namespacedmutatingpolicies.yaml @@ -99,6 +99,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1111,6 +1118,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2285,6 +2299,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3297,6 +3318,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/config/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml b/config/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml index f5fe032..4f850a3 100644 --- a/config/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml +++ b/config/crds/policies.kyverno.io_namespacedvalidatingpolicies.yaml @@ -151,6 +151,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -858,6 +865,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1713,6 +1727,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2420,6 +2441,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/config/crds/policies.kyverno.io_validatingpolicies.yaml b/config/crds/policies.kyverno.io_validatingpolicies.yaml index 42a7a13..d854748 100644 --- a/config/crds/policies.kyverno.io_validatingpolicies.yaml +++ b/config/crds/policies.kyverno.io_validatingpolicies.yaml @@ -151,6 +151,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -858,6 +865,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -1714,6 +1728,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -2421,6 +2442,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3276,6 +3304,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- @@ -3983,6 +4018,13 @@ spec: Optional. Default value is "true". The value must be set to "false" if the policy rule uses variables that are only available in the admission review request (e.g. user name). type: boolean + interval: + description: |- + Interval defines how often background scanning is performed for this specific policy. + Overrides the global background scan interval set at the controller level. + The value must be a valid duration string (e.g., "15m", "1h", "30s"). + Optional. If not set, the global background scan interval is used. + type: string type: object mode: description: |- diff --git a/docs/user/crd/index.html b/docs/user/crd/index.html index ef7ebda..2f42ba9 100644 --- a/docs/user/crd/index.html +++ b/docs/user/crd/index.html @@ -4007,6 +4007,23 @@

BackgroundConfigur uses variables that are only available in the admission review request (e.g. user name).

+ + +interval
+ + +Kubernetes meta/v1.Duration + + + + +(Optional) +

Interval defines how often background scanning is performed for this specific policy. +Overrides the global background scan interval set at the controller level. +The value must be a valid duration string (e.g., “15m”, “1h”, “30s”). +Optional. If not set, the global background scan interval is used.

+ +
diff --git a/docs/user/crd/kyverno_cel_policies.v1alpha1.html b/docs/user/crd/kyverno_cel_policies.v1alpha1.html index b0052ef..75f80d0 100644 --- a/docs/user/crd/kyverno_cel_policies.v1alpha1.html +++ b/docs/user/crd/kyverno_cel_policies.v1alpha1.html @@ -3628,6 +3628,38 @@

BackgroundConfigur + + + + + + + + interval + +
+ + + + + + meta/v1.Duration + + + + + + + +

Interval defines how often background scanning is performed for this specific policy. +Overrides the global background scan interval set at the controller level. +The value must be a valid duration string (e.g., "15m", "1h", "30s"). +Optional. If not set, the global background scan interval is used.

+ + + + +