mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
17 lines
348 B
YAML
17 lines
348 B
YAML
apiVersion: policy.nirmata.io/v1alpha1
|
|
kind : Policy
|
|
metadata:
|
|
name: selector-policy
|
|
spec:
|
|
failurePolicy: continueOnError
|
|
rules:
|
|
- resource:
|
|
kind: ConfigMap
|
|
selector:
|
|
matchLabels:
|
|
label1: test1
|
|
matchExpressions:
|
|
patches:
|
|
- path: /
|
|
op : Add
|
|
value : "20"
|