Skip to content

Commit

Permalink
VolatileCriteria description added
Browse files Browse the repository at this point in the history
  • Loading branch information
joejstuart authored and zregvart committed Dec 13, 2023
1 parent fb257c7 commit ea0301e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ spec:
exclude:
description: Exclude is a set of policy exclusions that, in case of failure, do not block the success of the outcome.
items:
description: VolatileCriteria includes or excludes a policy rule with effective dates as an option.
properties:
effectiveOn:
format: date-time
Expand All @@ -147,6 +148,7 @@ spec:
include:
description: Include is a set of policy inclusions that are added to the policy evaluation. These take precedence over policy exclusions.
items:
description: VolatileCriteria includes or excludes a policy rule with effective dates as an option.
properties:
effectiveOn:
format: date-time
Expand Down
1 change: 1 addition & 0 deletions api/v1alpha1/enterprisecontractpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ type SourceConfig struct {
Include []string `json:"include,omitempty"`
}

// VolatileCriteria includes or excludes a policy rule with effective dates as an option.
type VolatileCriteria struct {
Value string `json:"value"`
// +optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ spec:
exclude:
description: Exclude is a set of policy exclusions that, in case of failure, do not block the success of the outcome.
items:
description: VolatileCriteria includes or excludes a policy rule with effective dates as an option.
properties:
effectiveOn:
format: date-time
Expand All @@ -147,6 +148,7 @@ spec:
include:
description: Include is a set of policy inclusions that are added to the policy evaluation. These take precedence over policy exclusions.
items:
description: VolatileCriteria includes or excludes a policy rule with effective dates as an option.
properties:
effectiveOn:
format: date-time
Expand Down

0 comments on commit ea0301e

Please sign in to comment.