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:
patches:
# add a new label
- path: /metadata/labels/isMutated
- path: /metadata/labels/app.type
op: add
value: "true"
value: dev
# replace port
- path : /subsets/0/ports/0/port
op : replace

View file

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