Skip to content

Commit

Permalink
feat(helm): only deploy ClusterComplianceReports if enabled (#2027)
Browse files Browse the repository at this point in the history
Signed-off-by: elchenberg <[email protected]>
  • Loading branch information
elchenberg authored Apr 24, 2024
1 parent e47d3f7 commit 8c62a23
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/helm/templates/specs/cis-1.23.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.operator.clusterComplianceEnabled }}
apiVersion: aquasecurity.github.io/v1alpha1
kind: ClusterComplianceReport
metadata:
Expand Down Expand Up @@ -821,3 +822,4 @@ spec:
checks:
- id: AVD-KSV-0110
severity: MEDIUM
{{- end }}
2 changes: 2 additions & 0 deletions deploy/helm/templates/specs/nsa-1.0.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.operator.clusterComplianceEnabled }}
apiVersion: aquasecurity.github.io/v1alpha1
kind: ClusterComplianceReport
metadata:
Expand Down Expand Up @@ -180,3 +181,4 @@ spec:
checks:
- id: AVD-KCV-0020
severity: 'MEDIUM'
{{- end }}
2 changes: 2 additions & 0 deletions deploy/helm/templates/specs/pss-baseline.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.operator.clusterComplianceEnabled }}
apiVersion: aquasecurity.github.io/v1alpha1
kind: ClusterComplianceReport
metadata:
Expand Down Expand Up @@ -98,3 +99,4 @@ spec:
checks:
- id: avd-ksv-0026
severity: 'MEDIUM'
{{- end }}
2 changes: 2 additions & 0 deletions deploy/helm/templates/specs/pss-restricted.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.operator.clusterComplianceEnabled }}
apiVersion: aquasecurity.github.io/v1alpha1
kind: ClusterComplianceReport
metadata:
Expand Down Expand Up @@ -138,3 +139,4 @@ spec:
checks:
- id: avd-ksv-0106
severity: 'LOW'
{{- end }}

0 comments on commit 8c62a23

Please sign in to comment.