mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 09:56:55 +00:00
* fix: namespace in kyverno-test.yaml seems to have no effect in case of exclude Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * fix tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * unit tests Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
19 lines
394 B
YAML
19 lines
394 B
YAML
name: connection-draining
|
|
policies:
|
|
- policy.yaml
|
|
resources:
|
|
- resource.yaml
|
|
results:
|
|
- kind: Service
|
|
policy: disable-connection-draining
|
|
resources:
|
|
- nlb-aws-controller-no-attributes
|
|
result: skip
|
|
rule: clb
|
|
- kind: Service
|
|
patchedResource: patched.yaml
|
|
policy: disable-connection-draining
|
|
resources:
|
|
- nlb-aws-controller-no-attributes
|
|
result: pass
|
|
rule: nlb-no-attributes
|