mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 18:38:40 +00:00
add comments and fix ident
This commit is contained in:
parent
7ab611b51d
commit
d810794997
1 changed files with 12 additions and 10 deletions
22
README.md
22
README.md
|
@ -37,16 +37,18 @@ spec:
|
|||
validate:
|
||||
message: "CPU and memory resource requests and limits are required"
|
||||
pattern:
|
||||
spec:
|
||||
containers:
|
||||
- name: "*"
|
||||
resources:
|
||||
limits:
|
||||
memory: "?"
|
||||
cpu: "?"
|
||||
requests:
|
||||
memory: "?"
|
||||
cpu: "?"
|
||||
spec:
|
||||
containers:
|
||||
# 'name: *' selects all containers in the pod
|
||||
- name: "*"
|
||||
resources:
|
||||
limits:
|
||||
# '?' requires a value (at least 1 character)
|
||||
memory: "?"
|
||||
cpu: "?"
|
||||
requests:
|
||||
memory: "?"
|
||||
cpu: "?"
|
||||
````
|
||||
|
||||
### 2. Mutating resources
|
||||
|
|
Loading…
Add table
Reference in a new issue