-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OCPBUGS-304: exclude rhacs-operator namespace from resource limit rules
Added three new variable to be able to exclude namespaces in: `var_daemonset_limit_namespaces_exempt_regex` for rule `resource_requests_limits_in_daemonset` `var_deployment_limit_namespaces_exempt_regex` for rule `resource_requests_limits_in_deployment` `var_statefulset_limit_namespaces_exempt_regex` for rule `resource_requests_limits_in_statefulset` `rhacs-operator` namespace has also being excluded by default. Link to Jira Bug: https://issues.redhat.com/browse/OCPBUGS-304
- Loading branch information
1 parent
f14e083
commit f0a49fe
Showing
6 changed files
with
57 additions
and
5 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
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
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_daemonset_limit_namespaces_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 Daemonset Resource Limit" | ||
|
||
description: |- | ||
Namespaces regular expression explicitly allowed | ||
through daemonset resource filters, e.g. setting value to | ||
"namespace1|namespace2" will exempt namespace | ||
"namespace1" and "namespace2" for daemonset resource limit checks. | ||
|
||
type: string | ||
|
||
operator: equals | ||
|
||
interactive: true | ||
|
||
options: | ||
default: "None" |
18 changes: 18 additions & 0 deletions
18
applications/openshift/general/var_deployment_limit_namespaces_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 Deployment Resource Limit" | ||
|
||
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" |
18 changes: 18 additions & 0 deletions
18
applications/openshift/general/var_statefulset_limit_namespaces_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 Statefulset Resource Limit" | ||
|
||
description: |- | ||
Namespaces regular expression explicitly allowed | ||
through statefulset resource filters, e.g. setting value to | ||
"namespace1|namespace2" will exempt namespace | ||
"namespace1" and "namespace2" for statefulset resource limit checks. | ||
|
||
type: string | ||
|
||
operator: equals | ||
|
||
interactive: true | ||
|
||
options: | ||
default: "None" |