Skip to content

Commit

Permalink
Merge pull request #827 from viccuad/main
Browse files Browse the repository at this point in the history
chore: Refresh CRD-docs-for-docs-repo.md
  • Loading branch information
viccuad authored Jul 25, 2024
2 parents 8b8ed3a + aacc856 commit d0f69c9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 27 deletions.
2 changes: 1 addition & 1 deletion api/policies/v1/policy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ type PolicySpec struct {
// the policy is skipped. 2. If ALL matchConditions evaluate to TRUE, the policy
// is evaluated. 3. If any matchCondition evaluates to an error (but none are
// FALSE): - If failurePolicy=Fail, reject the request - If
// failurePolicy=Ignore, the policy is skipped
// failurePolicy=Ignore, the policy is skipped.
// Only available if the feature gate AdmissionWebhookMatchConditions is enabled.
// +optional
MatchConditions []admissionregistrationv1.MatchCondition `json:"matchConditions,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
type: string
matchConditions:
description: |-
MatchConditions is a list of conditions that must be met for a request to be
MatchConditions are a list of conditions that must be met for a request to be
validated. Match conditions filter requests that have already been matched by
the rules, namespaceSelector, and objectSelector. An empty list of
matchConditions matches all requests. There are a maximum of 64 match
Expand All @@ -105,7 +105,7 @@ spec:
the policy is skipped. 2. If ALL matchConditions evaluate to TRUE, the policy
is evaluated. 3. If any matchCondition evaluates to an error (but none are
FALSE): - If failurePolicy=Fail, reject the request - If
failurePolicy=Ignore, the policy is skipped
failurePolicy=Ignore, the policy is skipped.
Only available if the feature gate AdmissionWebhookMatchConditions is enabled.
items:
description: MatchCondition represents a condition which must by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:
type: string
matchConditions:
description: |-
MatchConditions is a list of conditions that must be met for a request to be
MatchConditions are a list of conditions that must be met for a request to be
validated. Match conditions filter requests that have already been matched by
the rules, namespaceSelector, and objectSelector. An empty list of
matchConditions matches all requests. There are a maximum of 64 match
Expand All @@ -126,7 +126,7 @@ spec:
the policy is skipped. 2. If ALL matchConditions evaluate to TRUE, the policy
is evaluated. 3. If any matchCondition evaluates to an error (but none are
FALSE): - If failurePolicy=Fail, reject the request - If
failurePolicy=Ignore, the policy is skipped
failurePolicy=Ignore, the policy is skipped.
Only available if the feature gate AdmissionWebhookMatchConditions is enabled.
items:
description: MatchCondition represents a condition which must by
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/policies.kubewarden.io_policyservers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1582,8 +1582,8 @@ spec:
type: object
tolerations:
description: |-
Tolerations describes the policy server pod's tolerations. It can be
user to ensure that the policy server pod is not scheduled onto a
Tolerations describe the policy server pod's tolerations. It can be
used to ensure that the policy server pod is not scheduled onto a
node with a taint.
items:
description: |-
Expand Down
Loading

0 comments on commit d0f69c9

Please sign in to comment.