mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
16 lines
365 B
YAML
16 lines
365 B
YAML
apiVersion : policy.nirmata.io/v1alpha1
|
|
kind : Policy
|
|
metadata :
|
|
name : policy-limitrange
|
|
spec :
|
|
failurePolicy: stopOnError
|
|
rules:
|
|
- resource:
|
|
kind : LimitRange
|
|
selector:
|
|
matchLabels:
|
|
containerSize: minimal
|
|
patch:
|
|
- path : "/spec/limits/0/default/memory"
|
|
op : replace
|
|
value: "384Mi"
|