Skip to content

Commit

Permalink
add cis to the cis-profile enum
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyDumaine committed Apr 18, 2024
1 parent 4756c2a commit bcc1aa9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/api/v1beta1/rke2config_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type RKE2AgentConfig struct {
Snapshotter string `json:"snapshotter,omitempty"`

// CISProfile activates CIS compliance of RKE2 for a certain profile
// +kubebuilder:validation:Enum=cis-1.23;cis-1.5;cis-1.6
// +kubebuilder:validation:Enum=cis;cis-1.23;cis-1.5;cis-1.6
//+optional
CISProfile CISProfile `json:"cisProfile,omitempty"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ spec:
description: CISProfile activates CIS compliance of RKE2 for a
certain profile
enum:
- cis
- cis-1.23
- cis-1.5
- cis-1.6
Expand Down Expand Up @@ -632,6 +633,7 @@ spec:
description: CISProfile activates CIS compliance of RKE2 for a
certain profile
enum:
- cis
- cis-1.23
- cis-1.5
- cis-1.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ spec:
description: CISProfile activates CIS compliance of RKE2
for a certain profile
enum:
- cis
- cis-1.23
- cis-1.5
- cis-1.6
Expand Down Expand Up @@ -635,6 +636,7 @@ spec:
description: CISProfile activates CIS compliance of RKE2
for a certain profile
enum:
- cis
- cis-1.23
- cis-1.5
- cis-1.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ spec:
description: CISProfile activates CIS compliance of RKE2 for a
certain profile
enum:
- cis
- cis-1.23
- cis-1.5
- cis-1.6
Expand Down Expand Up @@ -1254,6 +1255,7 @@ spec:
description: CISProfile activates CIS compliance of RKE2 for a
certain profile
enum:
- cis
- cis-1.23
- cis-1.5
- cis-1.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ spec:
description: CISProfile activates CIS compliance of RKE2
for a certain profile
enum:
- cis
- cis-1.23
- cis-1.5
- cis-1.6
Expand Down

0 comments on commit bcc1aa9

Please sign in to comment.