mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-13 19:28:55 +00:00
fix: conditions v2beta1 help (#8115)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
9c322f209d
commit
ba2a787434
7 changed files with 16 additions and 38 deletions
|
@ -81,8 +81,7 @@ var ConditionOperators = map[string]ConditionOperator{
|
|||
|
||||
// Deny specifies a list of conditions used to pass or fail a validation rule.
|
||||
type Deny struct {
|
||||
// Multiple conditions can be declared under an `any` or `all` statement. A direct list
|
||||
// of conditions (without `any` or `all` statements) is also supported for backwards compatibility
|
||||
// Multiple conditions can be declared under an `any` or `all` statement.
|
||||
// See: https://kyverno.io/docs/writing-policies/validate/#deny-rules
|
||||
RawAnyAllConditions *AnyAllConditions `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
}
|
||||
|
|
|
@ -40,8 +40,7 @@ type Rule struct {
|
|||
ImageExtractors kyvernov1.ImageExtractorConfigs `json:"imageExtractors,omitempty" yaml:"imageExtractors,omitempty"`
|
||||
|
||||
// Preconditions are used to determine if a policy rule should be applied by evaluating a
|
||||
// set of conditions. The declaration can contain nested `any` or `all` statements. A direct list
|
||||
// of conditions (without `any` or `all` statements is supported for backwards compatibility but
|
||||
// set of conditions. The declaration can contain nested `any` or `all` statements.
|
||||
// See: https://kyverno.io/docs/writing-policies/preconditions/
|
||||
// +optional
|
||||
RawAnyAllConditions *AnyAllConditions `json:"preconditions,omitempty" yaml:"preconditions,omitempty"`
|
||||
|
|
|
@ -14530,8 +14530,7 @@ spec:
|
|||
description: 'Preconditions are used to determine if a policy
|
||||
rule should be applied by evaluating a set of conditions.
|
||||
The declaration can contain nested `any` or `all` statements.
|
||||
A direct list of conditions (without `any` or `all` statements
|
||||
is supported for backwards compatibility but See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based conditional
|
||||
|
@ -14952,9 +14951,7 @@ spec:
|
|||
properties:
|
||||
conditions:
|
||||
description: 'Multiple conditions can be declared under
|
||||
an `any` or `all` statement. A direct list of conditions
|
||||
(without `any` or `all` statements) is also supported
|
||||
for backwards compatibility See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
an `any` or `all` statement. See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based
|
||||
|
@ -31753,8 +31750,7 @@ spec:
|
|||
description: 'Preconditions are used to determine if a policy
|
||||
rule should be applied by evaluating a set of conditions.
|
||||
The declaration can contain nested `any` or `all` statements.
|
||||
A direct list of conditions (without `any` or `all` statements
|
||||
is supported for backwards compatibility but See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based conditional
|
||||
|
@ -32175,9 +32171,7 @@ spec:
|
|||
properties:
|
||||
conditions:
|
||||
description: 'Multiple conditions can be declared under
|
||||
an `any` or `all` statement. A direct list of conditions
|
||||
(without `any` or `all` statements) is also supported
|
||||
for backwards compatibility See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
an `any` or `all` statement. See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based
|
||||
|
|
|
@ -10713,8 +10713,7 @@ spec:
|
|||
description: 'Preconditions are used to determine if a policy
|
||||
rule should be applied by evaluating a set of conditions.
|
||||
The declaration can contain nested `any` or `all` statements.
|
||||
A direct list of conditions (without `any` or `all` statements
|
||||
is supported for backwards compatibility but See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based conditional
|
||||
|
@ -11135,9 +11134,7 @@ spec:
|
|||
properties:
|
||||
conditions:
|
||||
description: 'Multiple conditions can be declared under
|
||||
an `any` or `all` statement. A direct list of conditions
|
||||
(without `any` or `all` statements) is also supported
|
||||
for backwards compatibility See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
an `any` or `all` statement. See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based
|
||||
|
|
|
@ -10716,8 +10716,7 @@ spec:
|
|||
description: 'Preconditions are used to determine if a policy
|
||||
rule should be applied by evaluating a set of conditions.
|
||||
The declaration can contain nested `any` or `all` statements.
|
||||
A direct list of conditions (without `any` or `all` statements
|
||||
is supported for backwards compatibility but See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based conditional
|
||||
|
@ -11138,9 +11137,7 @@ spec:
|
|||
properties:
|
||||
conditions:
|
||||
description: 'Multiple conditions can be declared under
|
||||
an `any` or `all` statement. A direct list of conditions
|
||||
(without `any` or `all` statements) is also supported
|
||||
for backwards compatibility See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
an `any` or `all` statement. See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based
|
||||
|
|
|
@ -14733,8 +14733,7 @@ spec:
|
|||
description: 'Preconditions are used to determine if a policy
|
||||
rule should be applied by evaluating a set of conditions.
|
||||
The declaration can contain nested `any` or `all` statements.
|
||||
A direct list of conditions (without `any` or `all` statements
|
||||
is supported for backwards compatibility but See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based conditional
|
||||
|
@ -15155,9 +15154,7 @@ spec:
|
|||
properties:
|
||||
conditions:
|
||||
description: 'Multiple conditions can be declared under
|
||||
an `any` or `all` statement. A direct list of conditions
|
||||
(without `any` or `all` statements) is also supported
|
||||
for backwards compatibility See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
an `any` or `all` statement. See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based
|
||||
|
@ -31956,8 +31953,7 @@ spec:
|
|||
description: 'Preconditions are used to determine if a policy
|
||||
rule should be applied by evaluating a set of conditions.
|
||||
The declaration can contain nested `any` or `all` statements.
|
||||
A direct list of conditions (without `any` or `all` statements
|
||||
is supported for backwards compatibility but See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
See: https://kyverno.io/docs/writing-policies/preconditions/'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based conditional
|
||||
|
@ -32378,9 +32374,7 @@ spec:
|
|||
properties:
|
||||
conditions:
|
||||
description: 'Multiple conditions can be declared under
|
||||
an `any` or `all` statement. A direct list of conditions
|
||||
(without `any` or `all` statements) is also supported
|
||||
for backwards compatibility See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
an `any` or `all` statement. See: https://kyverno.io/docs/writing-policies/validate/#deny-rules'
|
||||
properties:
|
||||
all:
|
||||
description: AllConditions enable variable-based
|
||||
|
|
|
@ -6636,8 +6636,7 @@ AnyAllConditions
|
|||
</em>
|
||||
</td>
|
||||
<td>
|
||||
<p>Multiple conditions can be declared under an <code>any</code> or <code>all</code> statement. A direct list
|
||||
of conditions (without <code>any</code> or <code>all</code> statements) is also supported for backwards compatibility
|
||||
<p>Multiple conditions can be declared under an <code>any</code> or <code>all</code> statement.
|
||||
See: <a href="https://kyverno.io/docs/writing-policies/validate/#deny-rules">https://kyverno.io/docs/writing-policies/validate/#deny-rules</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -7116,8 +7115,7 @@ AnyAllConditions
|
|||
<td>
|
||||
<em>(Optional)</em>
|
||||
<p>Preconditions are used to determine if a policy rule should be applied by evaluating a
|
||||
set of conditions. The declaration can contain nested <code>any</code> or <code>all</code> statements. A direct list
|
||||
of conditions (without <code>any</code> or <code>all</code> statements is supported for backwards compatibility but
|
||||
set of conditions. The declaration can contain nested <code>any</code> or <code>all</code> statements.
|
||||
See: <a href="https://kyverno.io/docs/writing-policies/preconditions/">https://kyverno.io/docs/writing-policies/preconditions/</a></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue