Skip to content

Commit e39813f

Browse files
committed
--amend
1 parent 9e4feb6 commit e39813f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

bundle/manifests/compliance.openshift.io_rules.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ spec:
5858
description:
5959
description: The description of the Rule
6060
type: string
61-
evaluation:
61+
evaluations:
6262
description: |-
63-
Evaluation is the list of CEL expressions that will be used
63+
Evaluations is the list of CEL expressions that will be used
6464
to evaluate the rule
6565
items:
6666
properties:

config/crd/bases/compliance.openshift.io_rules.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ spec:
5858
description:
5959
description: The description of the Rule
6060
type: string
61-
evaluation:
61+
evaluations:
6262
description: |-
63-
Evaluation is the list of CEL expressions that will be used
63+
Evaluations is the list of CEL expressions that will be used
6464
to evaluate the rule
6565
items:
6666
properties:

pkg/apis/compliance/v1alpha1/compliancescan_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ const CmScanResultAnnotation = "compliance.openshift.io/scan-result"
8989
// CmScanResultErrMsg holds the processed scanner error message
9090
const CmScanResultErrMsg = "compliance.openshift.io/scan-error-msg"
9191

92-
// compliance.openshift.io/cel-feature-enable annotation is used to enable the CEL feature
93-
const CelFeatureEnableAnnotation = "compliance.openshift.io/cel-feature-enable"
92+
// CELFeatureEnableAnnotation is used to enable the CEL feature
93+
const CELFeatureEnableAnnotation = "compliance.openshift.io/cel-feature-enable"
9494

9595
const (
9696
// ResultNot available represents the compliance scan not having finished yet

pkg/apis/compliance/v1alpha1/rule_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ type RulePayload struct {
7676
// Defaults to OpenSCAP
7777
// +kubebuilder:default=OpenSCAP
7878
Scanner ScannerType `json:"scanner,omitempty"`
79-
// Evaluation is the list of CEL expressions that will be used
79+
// Evaluations is the list of CEL expressions that will be used
8080
// to evaluate the rule
8181
// +nullable
8282
// +optional
8383
// +listType=atomic
84-
Evaluation []Evaluation `json:"evaluation,omitempty"`
84+
Evaluatiosn []Evaluation `json:"evaluations,omitempty"`
8585
// Inputs represent the input parameters for the CEL expression
8686
// +nullable
8787
// +optional

0 commit comments

Comments
 (0)