Skip to content

Commit

Permalink
Add variable reference for resource_requests_limits rules
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaojiey committed Feb 6, 2025
1 parent f291b6e commit fd334fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ template:
filepath: |-
{{{ openshift_filtered_path('/apis/apps/v1/daemonsets?limit=500', jqfilter) }}}
yamlpath: "[:]"
xccdf_variable: var_daemonset_limit_namespaces_exempt_regex
check_existence: "none_exist"
entity_check: "all"
values:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ template:
filepath: |-
{{{ openshift_filtered_path('/apis/apps/v1/deployments?limit=500', jqfilter) }}}
yamlpath: "[:]"
xccdf_variable: var_deployment_limit_namespaces_exempt_regex
check_existence: "none_exist"
entity_check: "all"
values:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ template:
filepath: |-
{{{ openshift_filtered_path('/apis/apps/v1/statefulsets?limit=500', jqfilter) }}}
yamlpath: "[:]"
xccdf_variable: var_statefulset_limit_namespaces_exempt_regex
check_existence: "none_exist"
entity_check: "all"
values:
Expand Down

0 comments on commit fd334fe

Please sign in to comment.