1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 10:04:25 +00:00

Merge pull request from realshuting/bug_fixes

Update CRDs
This commit is contained in:
Jim Bugwadia 2020-11-18 17:48:41 -08:00 committed by GitHub
commit cb6de3da35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 33 deletions

View file

@ -45,7 +45,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -239,7 +238,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -484,7 +482,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error
@ -1478,7 +1475,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -1672,7 +1668,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -1917,7 +1912,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error

View file

@ -47,7 +47,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -241,7 +240,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -486,7 +484,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error

View file

@ -48,7 +48,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -242,7 +241,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -487,7 +485,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error

View file

@ -50,7 +50,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -244,7 +243,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -489,7 +487,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error
@ -1483,7 +1480,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -1677,7 +1673,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -1922,7 +1917,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error

View file

@ -50,7 +50,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -244,7 +243,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -489,7 +487,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error
@ -1483,7 +1480,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -1677,7 +1673,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -1922,7 +1917,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error

View file

@ -50,7 +50,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -244,7 +243,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -489,7 +487,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error
@ -1483,7 +1480,6 @@ spec:
description: Spec declares policy behaviors.
properties:
background:
default: true
description: Background controls if rules are applied to existing
resources during a background scan. Optional. Default value is "true".
The value must be set to "false" if the policy rule uses variables
@ -1677,7 +1673,6 @@ spec:
description: Namespace specifies resource namespace.
type: string
synchronize:
default: false
description: Synchronize controls if generated resources
should be kept in-sync with their source resource. Optional.
Defaults to "false" if not specified.
@ -1922,7 +1917,6 @@ spec:
type: object
type: array
validationFailureAction:
default: audit
description: ValidationFailureAction controls if a validation policy
rule failure should disallow the admission review request (enforce),
or allow (audit) the admission review request and report an error

View file

@ -42,14 +42,12 @@ type Spec struct {
// ValidationFailureAction controls if a validation policy rule failure should disallow
// the admission review request (enforce), or allow (audit) the admission review request
// and report an error in a policy report. Optional. The default value is "audit".
// +kubebuilder:default=audit
// +optional
ValidationFailureAction string `json:"validationFailureAction,omitempty" yaml:"validationFailureAction,omitempty"`
// Background controls if rules are applied to existing resources during a background scan.
// 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).
// +kubebuilder:default=true
// +optional
Background *bool `json:"background,omitempty" yaml:"background,omitempty"`
}
@ -286,7 +284,6 @@ type Generation struct {
// Synchronize controls if generated resources should be kept in-sync with their source resource.
// Optional. Defaults to "false" if not specified.
// +kubebuilder:default=false
// +optional
Synchronize bool `json:"synchronize,omitempty" yaml:"synchronize,omitempty"`