mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
6498425937
* Add a registry flag to allow direct access to container registries in the CLI Signed-off-by: Sambhav Kothari <sambhavs.email@gmail.com>
84 lines
2.1 KiB
YAML
84 lines
2.1 KiB
YAML
name: add-nodeselector
|
|
policies:
|
|
- policy.yaml
|
|
resources:
|
|
- resource.yaml
|
|
results:
|
|
- policy: add-label
|
|
rule: add-label
|
|
resource: resource-equal-to-patch-res-for-cp
|
|
patchedResource: patchedResource1.yaml
|
|
kind: Pod
|
|
namespace: practice
|
|
result: skip
|
|
- policy: add-label
|
|
rule: add-label
|
|
resource: same-name-but-diff-namespace
|
|
patchedResource: patchedResource2.yaml
|
|
kind: Pod
|
|
namespace: testing
|
|
result: pass
|
|
- policy: add-label
|
|
rule: add-label
|
|
resource: same-name-but-diff-namespace
|
|
patchedResource: patchedResource3.yaml
|
|
kind: Pod
|
|
namespace: production
|
|
result: pass
|
|
- policy: add-label
|
|
rule: add-label
|
|
resource: mydeploy
|
|
patchedResource: patchedResource4.yaml
|
|
kind: Deployment
|
|
result: pass
|
|
- policy: add-label
|
|
rule: add-label
|
|
resource: same-name-but-diff-kind
|
|
patchedResource: patchedResource5.yaml
|
|
kind: Service
|
|
result: skip
|
|
- policy: add-label
|
|
rule: add-label
|
|
resource: same-name-but-diff-kind
|
|
patchedResource: patchedResource6.yaml
|
|
kind: Pod
|
|
result: pass
|
|
- policy: add-ndots
|
|
rule: add-ndots
|
|
resource: resource-equal-to-patch-res-for-cp
|
|
namespace: practice
|
|
patchedResource: patchedResource7.yaml
|
|
kind: Pod
|
|
result: skip
|
|
- policy: add-ndots
|
|
rule: add-ndots
|
|
resource: same-name-but-diff-namespace
|
|
patchedResource: patchedResource8.yaml
|
|
namespace: testing
|
|
kind: Pod
|
|
result: pass
|
|
- policy: add-ndots
|
|
rule: add-ndots
|
|
resource: same-name-but-diff-namespace
|
|
patchedResource: patchedResource9.yaml
|
|
kind: Pod
|
|
namespace: production
|
|
result: skip
|
|
- policy: add-ndots
|
|
rule: add-ndots
|
|
resource: mydeploy
|
|
patchedResource: patchedResource10.yaml
|
|
kind: Deployment
|
|
result: skip
|
|
- policy: add-ndots
|
|
rule: add-ndots
|
|
resource: same-name-but-diff-kind
|
|
patchedResource: patchedResource5.yaml
|
|
kind: Service
|
|
result: skip
|
|
- policy: add-ndots
|
|
rule: add-ndots
|
|
resource: same-name-but-diff-kind
|
|
patchedResource: patchedResource11.yaml
|
|
kind: Pod
|
|
result: skip
|