1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00

resolve PR comments

This commit is contained in:
Shuting Zhao 2019-06-24 10:42:38 -07:00
parent bffc4c0581
commit fc3c115363
8 changed files with 3 additions and 3 deletions

View file

@ -14,9 +14,9 @@ spec :
mutate: mutate:
patches: patches:
# add a new label # add a new label
- path: /metadata/labels/isMutated - path: /metadata/labels/app.type
op: add op: add
value: "true" value: dev
# replace port # replace port
- path : /subsets/0/ports/0/port - path : /subsets/0/ports/0/port
op : replace op : replace

View file

@ -35,6 +35,6 @@ spec:
- (name): "*" - (name): "*"
resources: resources:
limits: limits:
# cpu and memory is required despite of the value # cpu and memory are required
memory: "?*" memory: "?*"
cpu: "?*" cpu: "?*"