mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +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:
|
validate:
|
||||||
message: "CPU and memory resource requests and limits are required"
|
message: "CPU and memory resource requests and limits are required"
|
||||||
pattern:
|
pattern:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: "*"
|
# 'name: *' selects all containers in the pod
|
||||||
resources:
|
- name: "*"
|
||||||
limits:
|
resources:
|
||||||
memory: "?"
|
limits:
|
||||||
cpu: "?"
|
# '?' requires a value (at least 1 character)
|
||||||
requests:
|
memory: "?"
|
||||||
memory: "?"
|
cpu: "?"
|
||||||
cpu: "?"
|
requests:
|
||||||
|
memory: "?"
|
||||||
|
cpu: "?"
|
||||||
````
|
````
|
||||||
|
|
||||||
### 2. Mutating resources
|
### 2. Mutating resources
|
||||||
|
|
Loading…
Add table
Reference in a new issue