-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMP-2400: exclusion of the namespace for rule ocp4-resource-requests-…
…quota-per-project Excluded RHACS from the default namespace check. We don't want to releax our rule too much for optional operator, as it might incress security risk, instead user should use tailoredprofile to set the exclusion regex. Added a new variable 'var_resource_requests_quota_per_project_exempt_regex'
- Loading branch information
1 parent
ec2429f
commit c741919
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
applications/openshift/general/var_resource_requests_quota_per_project_exempt_regex.var
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
documentation_complete: true | ||
|
||
title: 'Namespaces exempt of Resource Requests Quota per Project checks' | ||
|
||
description: |- | ||
Namespaces regular expression explicitly allowed | ||
through deployment resource filters, e.g. setting value to | ||
"namespace1|namespace2" will exempt namespace | ||
"namespace1" and "namespace2" for deployment resource limit checks. | ||
|
||
type: string | ||
|
||
operator: equals | ||
|
||
interactive: true | ||
|
||
options: | ||
default: "None" |