mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
remove cpu limit in BP require_pod_requests_limits.yaml (#807)
* remove cpu limit in BP require_pod_requests_limits.yaml * update test
This commit is contained in:
parent
b5c37f42ad
commit
5f20cdfb07
3 changed files with 2 additions and 4 deletions
|
@ -31,5 +31,4 @@ spec:
|
||||||
cpu: "?*"
|
cpu: "?*"
|
||||||
limits:
|
limits:
|
||||||
memory: "?*"
|
memory: "?*"
|
||||||
cpu: "?*"
|
|
||||||
````
|
````
|
||||||
|
|
|
@ -26,5 +26,4 @@ spec:
|
||||||
memory: "?*"
|
memory: "?*"
|
||||||
cpu: "?*"
|
cpu: "?*"
|
||||||
limits:
|
limits:
|
||||||
memory: "?*"
|
memory: "?*"
|
||||||
cpu: "?*"
|
|
|
@ -14,4 +14,4 @@ expected:
|
||||||
rules:
|
rules:
|
||||||
- name: validate-resources
|
- name: validate-resources
|
||||||
type: Validation
|
type: Validation
|
||||||
success: false
|
success: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue