diff --git a/argo/appproject-clusterresourceblacklist/kyverno-test.yaml b/argo/appproject-clusterresourceblacklist/.kyverno-test/kyverno-test.yaml similarity index 94% rename from argo/appproject-clusterresourceblacklist/kyverno-test.yaml rename to argo/appproject-clusterresourceblacklist/.kyverno-test/kyverno-test.yaml index c57a62693..ddca45b07 100644 --- a/argo/appproject-clusterresourceblacklist/kyverno-test.yaml +++ b/argo/appproject-clusterresourceblacklist/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: appproject-clusterresourceblacklist policies: -- appproject-clusterresourceblacklist.yaml +- ../appproject-clusterresourceblacklist.yaml resources: - resources.yaml results: diff --git a/argo/appproject-clusterresourceblacklist/resources.yaml b/argo/appproject-clusterresourceblacklist/.kyverno-test/resources.yaml similarity index 100% rename from argo/appproject-clusterresourceblacklist/resources.yaml rename to argo/appproject-clusterresourceblacklist/.kyverno-test/resources.yaml diff --git a/best-practices/add-network-policy/generatedResource.yaml b/best-practices/add-network-policy/.kyverno-test/generatedResource.yaml similarity index 100% rename from best-practices/add-network-policy/generatedResource.yaml rename to best-practices/add-network-policy/.kyverno-test/generatedResource.yaml diff --git a/best-practices/add-network-policy/kyverno-test.yaml b/best-practices/add-network-policy/.kyverno-test/kyverno-test.yaml similarity index 90% rename from best-practices/add-network-policy/kyverno-test.yaml rename to best-practices/add-network-policy/.kyverno-test/kyverno-test.yaml index 169d33e9a..dd11764b0 100644 --- a/best-practices/add-network-policy/kyverno-test.yaml +++ b/best-practices/add-network-policy/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: deny-all-traffic policies: -- add-network-policy.yaml +- ../add-network-policy.yaml resources: - resource.yaml results: diff --git a/best-practices/add-network-policy/resource.yaml b/best-practices/add-network-policy/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/add-network-policy/resource.yaml rename to best-practices/add-network-policy/.kyverno-test/resource.yaml diff --git a/best-practices/add-network-policy/03-ns.yaml b/best-practices/add-network-policy/03-ns.yaml index 3a6b73b69..87be16ca6 100644 --- a/best-practices/add-network-policy/03-ns.yaml +++ b/best-practices/add-network-policy/03-ns.yaml @@ -1,4 +1,4 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml \ No newline at end of file +- .kyverno-test/resource.yaml \ No newline at end of file diff --git a/best-practices/add-network-policy/04-npolicy.yaml b/best-practices/add-network-policy/04-npolicy.yaml index 4a94dba42..bc1d512fc 100644 --- a/best-practices/add-network-policy/04-npolicy.yaml +++ b/best-practices/add-network-policy/04-npolicy.yaml @@ -1,6 +1,6 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep assert: -- generatedResource.yaml +- .kyverno-test/generatedResource.yaml error: - notGeneratedResource.yaml \ No newline at end of file diff --git a/best-practices/add-ns-quota/generatedLimitRange.yaml b/best-practices/add-ns-quota/.kyverno-test/generatedLimitRange.yaml similarity index 100% rename from best-practices/add-ns-quota/generatedLimitRange.yaml rename to best-practices/add-ns-quota/.kyverno-test/generatedLimitRange.yaml diff --git a/best-practices/add-ns-quota/generatedResourceQuota.yaml b/best-practices/add-ns-quota/.kyverno-test/generatedResourceQuota.yaml similarity index 100% rename from best-practices/add-ns-quota/generatedResourceQuota.yaml rename to best-practices/add-ns-quota/.kyverno-test/generatedResourceQuota.yaml diff --git a/best-practices/add-ns-quota/kyverno-test.yaml b/best-practices/add-ns-quota/.kyverno-test/kyverno-test.yaml similarity index 95% rename from best-practices/add-ns-quota/kyverno-test.yaml rename to best-practices/add-ns-quota/.kyverno-test/kyverno-test.yaml index bd1c80cf7..2cd881050 100644 --- a/best-practices/add-ns-quota/kyverno-test.yaml +++ b/best-practices/add-ns-quota/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-quota policies: -- add-ns-quota.yaml +- ../add-ns-quota.yaml resources: - resource.yaml results: diff --git a/best-practices/add-ns-quota/resource.yaml b/best-practices/add-ns-quota/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/add-ns-quota/resource.yaml rename to best-practices/add-ns-quota/.kyverno-test/resource.yaml diff --git a/best-practices/add-ns-quota/03-ns.yaml b/best-practices/add-ns-quota/03-ns.yaml index 3a6b73b69..87be16ca6 100644 --- a/best-practices/add-ns-quota/03-ns.yaml +++ b/best-practices/add-ns-quota/03-ns.yaml @@ -1,4 +1,4 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml \ No newline at end of file +- .kyverno-test/resource.yaml \ No newline at end of file diff --git a/best-practices/add-ns-quota/04-npolicy.yaml b/best-practices/add-ns-quota/04-npolicy.yaml index be271d282..69e869438 100644 --- a/best-practices/add-ns-quota/04-npolicy.yaml +++ b/best-practices/add-ns-quota/04-npolicy.yaml @@ -1,5 +1,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep assert: -- generatedResourceQuota.yaml -- generatedLimitRange.yaml \ No newline at end of file +- .kyverno-test/generatedResourceQuota.yaml +- .kyverno-test/generatedLimitRange.yaml \ No newline at end of file diff --git a/best-practices/add-safe-to-evict/kyverno-test.yaml b/best-practices/add-safe-to-evict/.kyverno-test/kyverno-test.yaml similarity index 95% rename from best-practices/add-safe-to-evict/kyverno-test.yaml rename to best-practices/add-safe-to-evict/.kyverno-test/kyverno-test.yaml index cf4be09a4..8e21b9076 100644 --- a/best-practices/add-safe-to-evict/kyverno-test.yaml +++ b/best-practices/add-safe-to-evict/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-safe-to-evict policies: -- add-safe-to-evict.yaml +- ../add-safe-to-evict.yaml resources: - resource.yaml results: diff --git a/best-practices/add-safe-to-evict/myapp-pod03-patched.yaml b/best-practices/add-safe-to-evict/.kyverno-test/myapp-pod03-patched.yaml similarity index 100% rename from best-practices/add-safe-to-evict/myapp-pod03-patched.yaml rename to best-practices/add-safe-to-evict/.kyverno-test/myapp-pod03-patched.yaml diff --git a/best-practices/add-safe-to-evict/myapp-pod04-patched.yaml b/best-practices/add-safe-to-evict/.kyverno-test/myapp-pod04-patched.yaml similarity index 100% rename from best-practices/add-safe-to-evict/myapp-pod04-patched.yaml rename to best-practices/add-safe-to-evict/.kyverno-test/myapp-pod04-patched.yaml diff --git a/best-practices/add-safe-to-evict/resource.yaml b/best-practices/add-safe-to-evict/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/add-safe-to-evict/resource.yaml rename to best-practices/add-safe-to-evict/.kyverno-test/resource.yaml diff --git a/best-practices/add-safe-to-evict/02-manifests.yaml b/best-practices/add-safe-to-evict/02-manifests.yaml index 1cffb5f9a..9522391fb 100644 --- a/best-practices/add-safe-to-evict/02-manifests.yaml +++ b/best-practices/add-safe-to-evict/02-manifests.yaml @@ -1,5 +1,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml +- .kyverno-test/resource.yaml - resource-others.yaml \ No newline at end of file diff --git a/best-practices/check-deprecated-apis/kyverno-test.yaml b/best-practices/check-deprecated-apis/.kyverno-test/kyverno-test.yaml similarity index 94% rename from best-practices/check-deprecated-apis/kyverno-test.yaml rename to best-practices/check-deprecated-apis/.kyverno-test/kyverno-test.yaml index ddda905e3..7b7f6b6b4 100644 --- a/best-practices/check-deprecated-apis/kyverno-test.yaml +++ b/best-practices/check-deprecated-apis/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-deprecated-apis policies: -- check-deprecated-apis.yaml +- ../check-deprecated-apis.yaml resources: - resource.yaml results: diff --git a/best-practices/check-deprecated-apis/resource.yaml b/best-practices/check-deprecated-apis/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/check-deprecated-apis/resource.yaml rename to best-practices/check-deprecated-apis/.kyverno-test/resource.yaml diff --git a/best-practices/disallow-cri-sock-mount/kyverno-test.yaml b/best-practices/disallow-cri-sock-mount/.kyverno-test/kyverno-test.yaml similarity index 95% rename from best-practices/disallow-cri-sock-mount/kyverno-test.yaml rename to best-practices/disallow-cri-sock-mount/.kyverno-test/kyverno-test.yaml index 7156072c5..b554fcbf5 100644 --- a/best-practices/disallow-cri-sock-mount/kyverno-test.yaml +++ b/best-practices/disallow-cri-sock-mount/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-cri-sock-mount policies: -- disallow-cri-sock-mount.yaml +- ../disallow-cri-sock-mount.yaml resources: - resource.yaml results: diff --git a/best-practices/disallow-cri-sock-mount/resource.yaml b/best-practices/disallow-cri-sock-mount/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/disallow-cri-sock-mount/resource.yaml rename to best-practices/disallow-cri-sock-mount/.kyverno-test/resource.yaml diff --git a/best-practices/disallow-default-namespace/kyverno-test.yaml b/best-practices/disallow-default-namespace/.kyverno-test/kyverno-test.yaml similarity index 94% rename from best-practices/disallow-default-namespace/kyverno-test.yaml rename to best-practices/disallow-default-namespace/.kyverno-test/kyverno-test.yaml index c1429e0a4..905552c47 100644 --- a/best-practices/disallow-default-namespace/kyverno-test.yaml +++ b/best-practices/disallow-default-namespace/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-default-namespace policies: -- disallow-default-namespace.yaml +- ../disallow-default-namespace.yaml resources: - resource.yaml results: diff --git a/best-practices/disallow-default-namespace/resource.yaml b/best-practices/disallow-default-namespace/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/disallow-default-namespace/resource.yaml rename to best-practices/disallow-default-namespace/.kyverno-test/resource.yaml diff --git a/best-practices/disallow-empty-ingress-host/kyverno-test.yaml b/best-practices/disallow-empty-ingress-host/.kyverno-test/kyverno-test.yaml similarity index 91% rename from best-practices/disallow-empty-ingress-host/kyverno-test.yaml rename to best-practices/disallow-empty-ingress-host/.kyverno-test/kyverno-test.yaml index 0bae70029..945bcc595 100644 --- a/best-practices/disallow-empty-ingress-host/kyverno-test.yaml +++ b/best-practices/disallow-empty-ingress-host/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-empty-ingress-host policies: -- disallow-empty-ingress-host.yaml +- ../disallow-empty-ingress-host.yaml resources: - resource.yaml results: diff --git a/best-practices/disallow-empty-ingress-host/resource.yaml b/best-practices/disallow-empty-ingress-host/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/disallow-empty-ingress-host/resource.yaml rename to best-practices/disallow-empty-ingress-host/.kyverno-test/resource.yaml diff --git a/best-practices/disallow-helm-tiller/kyverno-test.yaml b/best-practices/disallow-helm-tiller/.kyverno-test/kyverno-test.yaml similarity index 95% rename from best-practices/disallow-helm-tiller/kyverno-test.yaml rename to best-practices/disallow-helm-tiller/.kyverno-test/kyverno-test.yaml index c541fc34a..7247ab9b3 100644 --- a/best-practices/disallow-helm-tiller/kyverno-test.yaml +++ b/best-practices/disallow-helm-tiller/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-helm-tiller policies: -- disallow-helm-tiller.yaml +- ../disallow-helm-tiller.yaml resources: - resource.yaml results: diff --git a/best-practices/disallow-helm-tiller/resource.yaml b/best-practices/disallow-helm-tiller/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/disallow-helm-tiller/resource.yaml rename to best-practices/disallow-helm-tiller/.kyverno-test/resource.yaml diff --git a/best-practices/disallow-latest-tag/kyverno-test.yaml b/best-practices/disallow-latest-tag/.kyverno-test/kyverno-test.yaml similarity index 97% rename from best-practices/disallow-latest-tag/kyverno-test.yaml rename to best-practices/disallow-latest-tag/.kyverno-test/kyverno-test.yaml index 3508f1dd1..87088eee8 100644 --- a/best-practices/disallow-latest-tag/kyverno-test.yaml +++ b/best-practices/disallow-latest-tag/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-latest-tag policies: -- disallow-latest-tag.yaml +- ../disallow-latest-tag.yaml resources: - resource.yaml results: diff --git a/best-practices/disallow-latest-tag/resource.yaml b/best-practices/disallow-latest-tag/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/disallow-latest-tag/resource.yaml rename to best-practices/disallow-latest-tag/.kyverno-test/resource.yaml diff --git a/best-practices/require-drop-all/kyverno-test.yaml b/best-practices/require-drop-all/.kyverno-test/kyverno-test.yaml similarity index 93% rename from best-practices/require-drop-all/kyverno-test.yaml rename to best-practices/require-drop-all/.kyverno-test/kyverno-test.yaml index 7d6c743ae..641f33904 100644 --- a/best-practices/require-drop-all/kyverno-test.yaml +++ b/best-practices/require-drop-all/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-drop-all policies: -- require-drop-all.yaml +- ../require-drop-all.yaml resources: - resource.yaml results: diff --git a/best-practices/require-drop-all/resource.yaml b/best-practices/require-drop-all/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/require-drop-all/resource.yaml rename to best-practices/require-drop-all/.kyverno-test/resource.yaml diff --git a/best-practices/require-drop-cap-net-raw/kyverno-test.yaml b/best-practices/require-drop-cap-net-raw/.kyverno-test/kyverno-test.yaml similarity index 91% rename from best-practices/require-drop-cap-net-raw/kyverno-test.yaml rename to best-practices/require-drop-cap-net-raw/.kyverno-test/kyverno-test.yaml index 6c5707dac..09557c747 100644 --- a/best-practices/require-drop-cap-net-raw/kyverno-test.yaml +++ b/best-practices/require-drop-cap-net-raw/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-drop-cap-net-raw policies: -- require-drop-cap-net-raw.yaml +- ../require-drop-cap-net-raw.yaml resources: - resource.yaml results: diff --git a/best-practices/require-drop-cap-net-raw/resource.yaml b/best-practices/require-drop-cap-net-raw/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/require-drop-cap-net-raw/resource.yaml rename to best-practices/require-drop-cap-net-raw/.kyverno-test/resource.yaml diff --git a/best-practices/require-labels/kyverno-test.yaml b/best-practices/require-labels/.kyverno-test/kyverno-test.yaml similarity index 93% rename from best-practices/require-labels/kyverno-test.yaml rename to best-practices/require-labels/.kyverno-test/kyverno-test.yaml index 777759192..dc067a828 100644 --- a/best-practices/require-labels/kyverno-test.yaml +++ b/best-practices/require-labels/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-labels policies: -- require-labels.yaml +- ../require-labels.yaml resources: - resource.yaml results: diff --git a/best-practices/require-labels/resource.yaml b/best-practices/require-labels/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/require-labels/resource.yaml rename to best-practices/require-labels/.kyverno-test/resource.yaml diff --git a/best-practices/require-pod-requests-limits/kyverno-test.yaml b/best-practices/require-pod-requests-limits/.kyverno-test/kyverno-test.yaml similarity index 91% rename from best-practices/require-pod-requests-limits/kyverno-test.yaml rename to best-practices/require-pod-requests-limits/.kyverno-test/kyverno-test.yaml index 2a62d88e6..039bd09df 100644 --- a/best-practices/require-pod-requests-limits/kyverno-test.yaml +++ b/best-practices/require-pod-requests-limits/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-requests-limits policies: -- require-pod-requests-limits.yaml +- ../require-pod-requests-limits.yaml resources: - resource.yaml results: diff --git a/best-practices/require-pod-requests-limits/resource.yaml b/best-practices/require-pod-requests-limits/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/require-pod-requests-limits/resource.yaml rename to best-practices/require-pod-requests-limits/.kyverno-test/resource.yaml diff --git a/best-practices/require-probes/kyverno-test.yaml b/best-practices/require-probes/.kyverno-test/kyverno-test.yaml similarity index 94% rename from best-practices/require-probes/kyverno-test.yaml rename to best-practices/require-probes/.kyverno-test/kyverno-test.yaml index 5ae1833b0..897f81cd2 100644 --- a/best-practices/require-probes/kyverno-test.yaml +++ b/best-practices/require-probes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-pod-probes policies: -- require-probes.yaml +- ../require-probes.yaml resources: - resource.yaml results: diff --git a/best-practices/require-probes/resource.yaml b/best-practices/require-probes/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/require-probes/resource.yaml rename to best-practices/require-probes/.kyverno-test/resource.yaml diff --git a/best-practices/require-ro-rootfs/kyverno-test.yaml b/best-practices/require-ro-rootfs/.kyverno-test/kyverno-test.yaml similarity index 93% rename from best-practices/require-ro-rootfs/kyverno-test.yaml rename to best-practices/require-ro-rootfs/.kyverno-test/kyverno-test.yaml index b4a64f159..ed79bc673 100644 --- a/best-practices/require-ro-rootfs/kyverno-test.yaml +++ b/best-practices/require-ro-rootfs/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-ro-rootfs policies: -- require-ro-rootfs.yaml +- ../require-ro-rootfs.yaml resources: - resource.yaml results: diff --git a/best-practices/require-ro-rootfs/resource.yaml b/best-practices/require-ro-rootfs/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/require-ro-rootfs/resource.yaml rename to best-practices/require-ro-rootfs/.kyverno-test/resource.yaml diff --git a/best-practices/restrict-image-registries/kyverno-test.yaml b/best-practices/restrict-image-registries/.kyverno-test/kyverno-test.yaml similarity index 92% rename from best-practices/restrict-image-registries/kyverno-test.yaml rename to best-practices/restrict-image-registries/.kyverno-test/kyverno-test.yaml index c9dd903c6..560e6113f 100644 --- a/best-practices/restrict-image-registries/kyverno-test.yaml +++ b/best-practices/restrict-image-registries/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-image-registries policies: -- restrict-image-registries.yaml +- ../restrict-image-registries.yaml resources: - resource.yaml results: diff --git a/best-practices/restrict-image-registries/resource.yaml b/best-practices/restrict-image-registries/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/restrict-image-registries/resource.yaml rename to best-practices/restrict-image-registries/.kyverno-test/resource.yaml diff --git a/best-practices/restrict-node-port/kyverno-test.yaml b/best-practices/restrict-node-port/.kyverno-test/kyverno-test.yaml similarity index 92% rename from best-practices/restrict-node-port/kyverno-test.yaml rename to best-practices/restrict-node-port/.kyverno-test/kyverno-test.yaml index e3e0f496d..cd457f161 100644 --- a/best-practices/restrict-node-port/kyverno-test.yaml +++ b/best-practices/restrict-node-port/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-node-port policies: -- restrict-node-port.yaml +- ../restrict-node-port.yaml resources: - resource.yaml results: diff --git a/best-practices/restrict-node-port/resource.yaml b/best-practices/restrict-node-port/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/restrict-node-port/resource.yaml rename to best-practices/restrict-node-port/.kyverno-test/resource.yaml diff --git a/best-practices/restrict-service-external-ips/kyverno-test.yaml b/best-practices/restrict-service-external-ips/.kyverno-test/kyverno-test.yaml similarity index 90% rename from best-practices/restrict-service-external-ips/kyverno-test.yaml rename to best-practices/restrict-service-external-ips/.kyverno-test/kyverno-test.yaml index 2242f86e9..c3be68bb2 100644 --- a/best-practices/restrict-service-external-ips/kyverno-test.yaml +++ b/best-practices/restrict-service-external-ips/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-external-ips policies: -- restrict-service-external-ips.yaml +- ../restrict-service-external-ips.yaml resources: - resource.yaml results: diff --git a/best-practices/restrict-service-external-ips/resource.yaml b/best-practices/restrict-service-external-ips/.kyverno-test/resource.yaml similarity index 100% rename from best-practices/restrict-service-external-ips/resource.yaml rename to best-practices/restrict-service-external-ips/.kyverno-test/resource.yaml diff --git a/castai/add-castai-removal-disabled/kyverno-test.yaml b/castai/add-castai-removal-disabled/.kyverno-test/kyverno-test.yaml similarity index 92% rename from castai/add-castai-removal-disabled/kyverno-test.yaml rename to castai/add-castai-removal-disabled/.kyverno-test/kyverno-test.yaml index 72423d47a..7df931f78 100644 --- a/castai/add-castai-removal-disabled/kyverno-test.yaml +++ b/castai/add-castai-removal-disabled/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-castai-removal-disabled policies: -- add-castai-removal-disabled.yaml +- ../add-castai-removal-disabled.yaml resources: - resources.yaml results: diff --git a/castai/add-castai-removal-disabled/patched01.yaml b/castai/add-castai-removal-disabled/.kyverno-test/patched01.yaml similarity index 100% rename from castai/add-castai-removal-disabled/patched01.yaml rename to castai/add-castai-removal-disabled/.kyverno-test/patched01.yaml diff --git a/castai/add-castai-removal-disabled/patched02.yaml b/castai/add-castai-removal-disabled/.kyverno-test/patched02.yaml similarity index 100% rename from castai/add-castai-removal-disabled/patched02.yaml rename to castai/add-castai-removal-disabled/.kyverno-test/patched02.yaml diff --git a/castai/add-castai-removal-disabled/resources.yaml b/castai/add-castai-removal-disabled/.kyverno-test/resources.yaml similarity index 100% rename from castai/add-castai-removal-disabled/resources.yaml rename to castai/add-castai-removal-disabled/.kyverno-test/resources.yaml diff --git a/castai/add-castai-removal-disabled/02-manifests.yaml b/castai/add-castai-removal-disabled/02-manifests.yaml index aa9716fd6..0f9a29fcf 100644 --- a/castai/add-castai-removal-disabled/02-manifests.yaml +++ b/castai/add-castai-removal-disabled/02-manifests.yaml @@ -1,5 +1,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- file: resources.yaml +- file: .kyverno-test/resources.yaml shouldFail: false \ No newline at end of file diff --git a/castai/add-castai-removal-disabled/03-mutated.yaml b/castai/add-castai-removal-disabled/03-mutated.yaml index 7d8e52707..33cb4563f 100644 --- a/castai/add-castai-removal-disabled/03-mutated.yaml +++ b/castai/add-castai-removal-disabled/03-mutated.yaml @@ -1,5 +1,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep assert: -- patched01.yaml -- patched02.yaml +- .kyverno-test/patched01.yaml +- .kyverno-test/patched02.yaml diff --git a/cert-manager/limit-dnsnames/kyverno-test.yaml b/cert-manager/limit-dnsnames/.kyverno-test/kyverno-test.yaml similarity index 93% rename from cert-manager/limit-dnsnames/kyverno-test.yaml rename to cert-manager/limit-dnsnames/.kyverno-test/kyverno-test.yaml index 7d210e4a6..65dda8e35 100644 --- a/cert-manager/limit-dnsnames/kyverno-test.yaml +++ b/cert-manager/limit-dnsnames/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: limit_dnsnames policies: -- limit-dnsnames.yaml +- ../limit-dnsnames.yaml resources: - resource.yaml results: diff --git a/cert-manager/limit-dnsnames/resource.yaml b/cert-manager/limit-dnsnames/.kyverno-test/resource.yaml similarity index 100% rename from cert-manager/limit-dnsnames/resource.yaml rename to cert-manager/limit-dnsnames/.kyverno-test/resource.yaml diff --git a/cert-manager/limit-duration/kyverno-test.yaml b/cert-manager/limit-duration/.kyverno-test/kyverno-test.yaml similarity index 95% rename from cert-manager/limit-duration/kyverno-test.yaml rename to cert-manager/limit-duration/.kyverno-test/kyverno-test.yaml index 5b90ed748..1953a65cc 100644 --- a/cert-manager/limit-duration/kyverno-test.yaml +++ b/cert-manager/limit-duration/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: limit-duration policies: -- limit-duration.yaml +- ../limit-duration.yaml resources: - resource.yaml results: diff --git a/cert-manager/limit-duration/resource.yaml b/cert-manager/limit-duration/.kyverno-test/resource.yaml similarity index 100% rename from cert-manager/limit-duration/resource.yaml rename to cert-manager/limit-duration/.kyverno-test/resource.yaml diff --git a/cert-manager/restrict-issuer/kyverno-test.yaml b/cert-manager/restrict-issuer/.kyverno-test/kyverno-test.yaml similarity index 93% rename from cert-manager/restrict-issuer/kyverno-test.yaml rename to cert-manager/restrict-issuer/.kyverno-test/kyverno-test.yaml index e64bea4af..a7020f713 100644 --- a/cert-manager/restrict-issuer/kyverno-test.yaml +++ b/cert-manager/restrict-issuer/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-issuer policies: -- restrict-issuer.yaml +- ../restrict-issuer.yaml resources: - resource.yaml results: diff --git a/cert-manager/restrict-issuer/resource.yaml b/cert-manager/restrict-issuer/.kyverno-test/resource.yaml similarity index 100% rename from cert-manager/restrict-issuer/resource.yaml rename to cert-manager/restrict-issuer/.kyverno-test/resource.yaml diff --git a/consul/enforce-min-tls-version/kyverno-test.yaml b/consul/enforce-min-tls-version/.kyverno-test/kyverno-test.yaml similarity index 91% rename from consul/enforce-min-tls-version/kyverno-test.yaml rename to consul/enforce-min-tls-version/.kyverno-test/kyverno-test.yaml index 5e41666bf..999cb075d 100644 --- a/consul/enforce-min-tls-version/kyverno-test.yaml +++ b/consul/enforce-min-tls-version/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: enforce-min-tls-version policies: -- enforce-min-tls-version.yaml +- ../enforce-min-tls-version.yaml resources: - resource.yaml results: diff --git a/consul/enforce-min-tls-version/resource.yaml b/consul/enforce-min-tls-version/.kyverno-test/resource.yaml similarity index 100% rename from consul/enforce-min-tls-version/resource.yaml rename to consul/enforce-min-tls-version/.kyverno-test/resource.yaml diff --git a/external-secret-operator/add-external-secret-prefix/kyverno-test.yaml b/external-secret-operator/add-external-secret-prefix/.kyverno-test/kyverno-test.yaml similarity index 89% rename from external-secret-operator/add-external-secret-prefix/kyverno-test.yaml rename to external-secret-operator/add-external-secret-prefix/.kyverno-test/kyverno-test.yaml index 63fb99773..71cbb8a32 100644 --- a/external-secret-operator/add-external-secret-prefix/kyverno-test.yaml +++ b/external-secret-operator/add-external-secret-prefix/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-external-secret-prefix policies: -- add-external-secret-prefix.yaml +- ../add-external-secret-prefix.yaml resources: - resource.yaml results: diff --git a/external-secret-operator/add-external-secret-prefix/patched.yaml b/external-secret-operator/add-external-secret-prefix/.kyverno-test/patched.yaml similarity index 100% rename from external-secret-operator/add-external-secret-prefix/patched.yaml rename to external-secret-operator/add-external-secret-prefix/.kyverno-test/patched.yaml diff --git a/external-secret-operator/add-external-secret-prefix/resource.yaml b/external-secret-operator/add-external-secret-prefix/.kyverno-test/resource.yaml similarity index 100% rename from external-secret-operator/add-external-secret-prefix/resource.yaml rename to external-secret-operator/add-external-secret-prefix/.kyverno-test/resource.yaml diff --git a/istio/restrict-virtual-service-wildcard/kyverno-test.yaml b/istio/restrict-virtual-service-wildcard/.kyverno-test/kyverno-test.yaml similarity index 90% rename from istio/restrict-virtual-service-wildcard/kyverno-test.yaml rename to istio/restrict-virtual-service-wildcard/.kyverno-test/kyverno-test.yaml index 0fb34299d..1bd8ac6a8 100644 --- a/istio/restrict-virtual-service-wildcard/kyverno-test.yaml +++ b/istio/restrict-virtual-service-wildcard/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-virtual-service-wildcard policies: -- restrict-virtual-service-wildcard.yaml +- ../restrict-virtual-service-wildcard.yaml resources: - resources.yaml results: diff --git a/istio/restrict-virtual-service-wildcard/resources.yaml b/istio/restrict-virtual-service-wildcard/.kyverno-test/resources.yaml similarity index 100% rename from istio/restrict-virtual-service-wildcard/resources.yaml rename to istio/restrict-virtual-service-wildcard/.kyverno-test/resources.yaml diff --git a/karpenter/add-karpenter-daemonset-priority-class/daemonset-patched.yaml b/karpenter/add-karpenter-daemonset-priority-class/.kyverno-test/daemonset-patched.yaml similarity index 100% rename from karpenter/add-karpenter-daemonset-priority-class/daemonset-patched.yaml rename to karpenter/add-karpenter-daemonset-priority-class/.kyverno-test/daemonset-patched.yaml diff --git a/karpenter/add-karpenter-daemonset-priority-class/daemonset.yaml b/karpenter/add-karpenter-daemonset-priority-class/.kyverno-test/daemonset.yaml similarity index 100% rename from karpenter/add-karpenter-daemonset-priority-class/daemonset.yaml rename to karpenter/add-karpenter-daemonset-priority-class/.kyverno-test/daemonset.yaml diff --git a/karpenter/add-karpenter-daemonset-priority-class/kyverno-test.yaml b/karpenter/add-karpenter-daemonset-priority-class/.kyverno-test/kyverno-test.yaml similarity index 87% rename from karpenter/add-karpenter-daemonset-priority-class/kyverno-test.yaml rename to karpenter/add-karpenter-daemonset-priority-class/.kyverno-test/kyverno-test.yaml index 2fa368a49..4e3cf84cc 100644 --- a/karpenter/add-karpenter-daemonset-priority-class/kyverno-test.yaml +++ b/karpenter/add-karpenter-daemonset-priority-class/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: test-add-karpenter-daemonset-priority-class policies: -- add-karpenter-daemonset-priority-class.yaml +- ../add-karpenter-daemonset-priority-class.yaml resources: - daemonset.yaml results: diff --git a/karpenter/add-karpenter-donot-evict/kyverno-test.yaml b/karpenter/add-karpenter-donot-evict/.kyverno-test/kyverno-test.yaml similarity index 92% rename from karpenter/add-karpenter-donot-evict/kyverno-test.yaml rename to karpenter/add-karpenter-donot-evict/.kyverno-test/kyverno-test.yaml index 449e2f3c0..e231dbbdc 100644 --- a/karpenter/add-karpenter-donot-evict/kyverno-test.yaml +++ b/karpenter/add-karpenter-donot-evict/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-karpenter-donot-evict policies: -- add-karpenter-donot-evict.yaml +- ../add-karpenter-donot-evict.yaml resources: - resource.yaml results: diff --git a/karpenter/add-karpenter-donot-evict/patched01.yaml b/karpenter/add-karpenter-donot-evict/.kyverno-test/patched01.yaml similarity index 100% rename from karpenter/add-karpenter-donot-evict/patched01.yaml rename to karpenter/add-karpenter-donot-evict/.kyverno-test/patched01.yaml diff --git a/karpenter/add-karpenter-donot-evict/patched02.yaml b/karpenter/add-karpenter-donot-evict/.kyverno-test/patched02.yaml similarity index 100% rename from karpenter/add-karpenter-donot-evict/patched02.yaml rename to karpenter/add-karpenter-donot-evict/.kyverno-test/patched02.yaml diff --git a/karpenter/add-karpenter-donot-evict/resource.yaml b/karpenter/add-karpenter-donot-evict/.kyverno-test/resource.yaml similarity index 100% rename from karpenter/add-karpenter-donot-evict/resource.yaml rename to karpenter/add-karpenter-donot-evict/.kyverno-test/resource.yaml diff --git a/karpenter/add-karpenter-donot-evict/02-resources.yaml b/karpenter/add-karpenter-donot-evict/02-resources.yaml index 1cffb5f9a..9522391fb 100644 --- a/karpenter/add-karpenter-donot-evict/02-resources.yaml +++ b/karpenter/add-karpenter-donot-evict/02-resources.yaml @@ -1,5 +1,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml +- .kyverno-test/resource.yaml - resource-others.yaml \ No newline at end of file diff --git a/karpenter/add-karpenter-donot-evict/03-mutated.yaml b/karpenter/add-karpenter-donot-evict/03-mutated.yaml index 18734c7fd..5712a4f3a 100644 --- a/karpenter/add-karpenter-donot-evict/03-mutated.yaml +++ b/karpenter/add-karpenter-donot-evict/03-mutated.yaml @@ -1,7 +1,7 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep assert: -- patched01.yaml -- patched02.yaml +- .kyverno-test/patched01.yaml +- .kyverno-test/patched02.yaml - patched03.yaml - patched04.yaml \ No newline at end of file diff --git a/karpenter/set-karpenter-non-cpu-limits/kyverno-test.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/kyverno-test.yaml similarity index 97% rename from karpenter/set-karpenter-non-cpu-limits/kyverno-test.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/kyverno-test.yaml index ea9df80b3..21254e217 100644 --- a/karpenter/set-karpenter-non-cpu-limits/kyverno-test.yaml +++ b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: set-karpenter-non-cpu-limits policies: -- set-karpenter-non-cpu-limits.yaml +- ../set-karpenter-non-cpu-limits.yaml resources: - resources.yaml results: diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched1.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched1.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched1.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched1.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched2.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched2.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched2.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched2.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched3.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched3.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched3.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched3.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched4.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched4.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-ephemeral-storage-patched4.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-ephemeral-storage-patched4.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-memory-patched1.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched1.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-memory-patched1.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched1.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-memory-patched2.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched2.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-memory-patched2.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched2.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-memory-patched3.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched3.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-memory-patched3.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched3.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/pod-memory-patched4.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched4.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/pod-memory-patched4.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/pod-memory-patched4.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/resources.yaml b/karpenter/set-karpenter-non-cpu-limits/.kyverno-test/resources.yaml similarity index 100% rename from karpenter/set-karpenter-non-cpu-limits/resources.yaml rename to karpenter/set-karpenter-non-cpu-limits/.kyverno-test/resources.yaml diff --git a/karpenter/set-karpenter-non-cpu-limits/02-resources.yaml b/karpenter/set-karpenter-non-cpu-limits/02-resources.yaml index 130778ef7..cb01a51c6 100644 --- a/karpenter/set-karpenter-non-cpu-limits/02-resources.yaml +++ b/karpenter/set-karpenter-non-cpu-limits/02-resources.yaml @@ -2,6 +2,6 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: - ns.yaml -- resources.yaml +- .kyverno-test/resources.yaml - podcontroller-resources.yaml - pod-others.yaml \ No newline at end of file diff --git a/karpenter/set-karpenter-non-cpu-limits/03-mutated.yaml b/karpenter/set-karpenter-non-cpu-limits/03-mutated.yaml index 8b8084d47..58ee118b6 100644 --- a/karpenter/set-karpenter-non-cpu-limits/03-mutated.yaml +++ b/karpenter/set-karpenter-non-cpu-limits/03-mutated.yaml @@ -1,13 +1,13 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep assert: -- pod-memory-patched1.yaml -- pod-memory-patched2.yaml -- pod-memory-patched3.yaml -- pod-memory-patched4.yaml -- pod-ephemeral-storage-patched1.yaml -- pod-ephemeral-storage-patched2.yaml -- pod-ephemeral-storage-patched3.yaml -- pod-ephemeral-storage-patched4.yaml +- .kyverno-test/pod-memory-patched1.yaml +- .kyverno-test/pod-memory-patched2.yaml +- .kyverno-test/pod-memory-patched3.yaml +- .kyverno-test/pod-memory-patched4.yaml +- .kyverno-test/pod-ephemeral-storage-patched1.yaml +- .kyverno-test/pod-ephemeral-storage-patched2.yaml +- .kyverno-test/pod-ephemeral-storage-patched3.yaml +- .kyverno-test/pod-ephemeral-storage-patched4.yaml - podcontroller-patched.yaml - pod-others-patched.yaml \ No newline at end of file diff --git a/kasten/k10-3-2-1-backup/k10-backup-policy.yaml b/kasten/k10-3-2-1-backup/.kyverno-test/k10-backup-policy.yaml similarity index 100% rename from kasten/k10-3-2-1-backup/k10-backup-policy.yaml rename to kasten/k10-3-2-1-backup/.kyverno-test/k10-backup-policy.yaml diff --git a/kasten/k10-3-2-1-backup/kyverno-test.yaml b/kasten/k10-3-2-1-backup/.kyverno-test/kyverno-test.yaml similarity index 94% rename from kasten/k10-3-2-1-backup/kyverno-test.yaml rename to kasten/k10-3-2-1-backup/.kyverno-test/kyverno-test.yaml index 827f2110c..4afc6e8cf 100644 --- a/kasten/k10-3-2-1-backup/kyverno-test.yaml +++ b/kasten/k10-3-2-1-backup/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: kyverno_data_protection_tests policies: -- k10-3-2-1-backup.yaml +- ../k10-3-2-1-backup.yaml resources: - k10-backup-policy.yaml results: diff --git a/kasten/k10-data-protection-by-label/kyverno-test.yaml b/kasten/k10-data-protection-by-label/.kyverno-test/kyverno-test.yaml similarity index 91% rename from kasten/k10-data-protection-by-label/kyverno-test.yaml rename to kasten/k10-data-protection-by-label/.kyverno-test/kyverno-test.yaml index 63d0db628..58f925a36 100644 --- a/kasten/k10-data-protection-by-label/kyverno-test.yaml +++ b/kasten/k10-data-protection-by-label/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: kyverno_data_protection_tests policies: -- k10-data-protection-by-label.yaml +- ../k10-data-protection-by-label.yaml resources: - nginx-deployment.yaml results: diff --git a/kasten/k10-data-protection-by-label/nginx-deployment.yaml b/kasten/k10-data-protection-by-label/.kyverno-test/nginx-deployment.yaml similarity index 100% rename from kasten/k10-data-protection-by-label/nginx-deployment.yaml rename to kasten/k10-data-protection-by-label/.kyverno-test/nginx-deployment.yaml diff --git a/kasten/k10-generate-policy-by-preset-label/generatedResource.yaml b/kasten/k10-generate-policy-by-preset-label/.kyverno-test/generatedResource.yaml similarity index 100% rename from kasten/k10-generate-policy-by-preset-label/generatedResource.yaml rename to kasten/k10-generate-policy-by-preset-label/.kyverno-test/generatedResource.yaml diff --git a/kasten/k10-generate-policy-by-preset-label/kyverno-test.yaml b/kasten/k10-generate-policy-by-preset-label/.kyverno-test/kyverno-test.yaml similarity index 89% rename from kasten/k10-generate-policy-by-preset-label/kyverno-test.yaml rename to kasten/k10-generate-policy-by-preset-label/.kyverno-test/kyverno-test.yaml index 2bbae7c85..8ab63d8a9 100644 --- a/kasten/k10-generate-policy-by-preset-label/kyverno-test.yaml +++ b/kasten/k10-generate-policy-by-preset-label/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: k10-generate-policy-by-preset-label-test policies: -- k10-generate-policy-by-preset-label.yaml +- ../k10-generate-policy-by-preset-label.yaml resources: - test-resource.yaml results: diff --git a/kasten/k10-generate-policy-by-preset-label/test-resource.yaml b/kasten/k10-generate-policy-by-preset-label/.kyverno-test/test-resource.yaml similarity index 100% rename from kasten/k10-generate-policy-by-preset-label/test-resource.yaml rename to kasten/k10-generate-policy-by-preset-label/.kyverno-test/test-resource.yaml diff --git a/kasten/k10-generate-policy-by-preset-label/test-values.yaml b/kasten/k10-generate-policy-by-preset-label/.kyverno-test/test-values.yaml similarity index 100% rename from kasten/k10-generate-policy-by-preset-label/test-values.yaml rename to kasten/k10-generate-policy-by-preset-label/.kyverno-test/test-values.yaml diff --git a/kasten/k10-hourly-rpo/backup-export-policy.yaml b/kasten/k10-hourly-rpo/.kyverno-test/backup-export-policy.yaml similarity index 100% rename from kasten/k10-hourly-rpo/backup-export-policy.yaml rename to kasten/k10-hourly-rpo/.kyverno-test/backup-export-policy.yaml diff --git a/kasten/k10-hourly-rpo/kyverno-test.yaml b/kasten/k10-hourly-rpo/.kyverno-test/kyverno-test.yaml similarity index 94% rename from kasten/k10-hourly-rpo/kyverno-test.yaml rename to kasten/k10-hourly-rpo/.kyverno-test/kyverno-test.yaml index a0037eae2..965e355f5 100644 --- a/kasten/k10-hourly-rpo/kyverno-test.yaml +++ b/kasten/k10-hourly-rpo/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: kyverno_data_protection_tests policies: -- k10-hourly-rpo.yaml +- ../k10-hourly-rpo.yaml resources: - backup-export-policy.yaml results: diff --git a/kasten/k10-immutable-location-profile/immutable-location-profile.yaml b/kasten/k10-immutable-location-profile/.kyverno-test/immutable-location-profile.yaml similarity index 100% rename from kasten/k10-immutable-location-profile/immutable-location-profile.yaml rename to kasten/k10-immutable-location-profile/.kyverno-test/immutable-location-profile.yaml diff --git a/kasten/k10-immutable-location-profile/kyverno-test.yaml b/kasten/k10-immutable-location-profile/.kyverno-test/kyverno-test.yaml similarity index 91% rename from kasten/k10-immutable-location-profile/kyverno-test.yaml rename to kasten/k10-immutable-location-profile/.kyverno-test/kyverno-test.yaml index 8f99d4dd8..727282086 100644 --- a/kasten/k10-immutable-location-profile/kyverno-test.yaml +++ b/kasten/k10-immutable-location-profile/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: kyverno_data_protection_tests policies: -- k10-immutable-location-profile.yaml +- ../k10-immutable-location-profile.yaml resources: - immutable-location-profile.yaml results: diff --git a/kasten/k10-minimum-retention/backup-export-policy.yaml b/kasten/k10-minimum-retention/.kyverno-test/backup-export-policy.yaml similarity index 100% rename from kasten/k10-minimum-retention/backup-export-policy.yaml rename to kasten/k10-minimum-retention/.kyverno-test/backup-export-policy.yaml diff --git a/kasten/k10-minimum-retention/kyverno-test.yaml b/kasten/k10-minimum-retention/.kyverno-test/kyverno-test.yaml similarity index 90% rename from kasten/k10-minimum-retention/kyverno-test.yaml rename to kasten/k10-minimum-retention/.kyverno-test/kyverno-test.yaml index fb1e62ab9..c6b85cb42 100644 --- a/kasten/k10-minimum-retention/kyverno-test.yaml +++ b/kasten/k10-minimum-retention/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: kyverno_data_protection_tests policies: -- k10-minimum-retention.yaml +- ../k10-minimum-retention.yaml resources: - backup-export-policy.yaml results: diff --git a/kasten/k10-minimum-retention/patched.yaml b/kasten/k10-minimum-retention/.kyverno-test/patched.yaml similarity index 100% rename from kasten/k10-minimum-retention/patched.yaml rename to kasten/k10-minimum-retention/.kyverno-test/patched.yaml diff --git a/kasten/k10-validate-ns-by-preset-label/kyverno-test.yaml b/kasten/k10-validate-ns-by-preset-label/.kyverno-test/kyverno-test.yaml similarity index 92% rename from kasten/k10-validate-ns-by-preset-label/kyverno-test.yaml rename to kasten/k10-validate-ns-by-preset-label/.kyverno-test/kyverno-test.yaml index 03943d8f7..440c95426 100644 --- a/kasten/k10-validate-ns-by-preset-label/kyverno-test.yaml +++ b/kasten/k10-validate-ns-by-preset-label/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: k10-validate-ns-by-preset-label-test policies: -- k10-validate-ns-by-preset-label.yaml +- ../k10-validate-ns-by-preset-label.yaml resources: - test-resource.yaml results: diff --git a/kasten/k10-validate-ns-by-preset-label/test-resource.yaml b/kasten/k10-validate-ns-by-preset-label/.kyverno-test/test-resource.yaml similarity index 100% rename from kasten/k10-validate-ns-by-preset-label/test-resource.yaml rename to kasten/k10-validate-ns-by-preset-label/.kyverno-test/test-resource.yaml diff --git a/kubecost/enable-kubecost-continuous-rightsizing/kyverno-test.yaml b/kubecost/enable-kubecost-continuous-rightsizing/.kyverno-test/kyverno-test.yaml similarity index 90% rename from kubecost/enable-kubecost-continuous-rightsizing/kyverno-test.yaml rename to kubecost/enable-kubecost-continuous-rightsizing/.kyverno-test/kyverno-test.yaml index 342e06c49..9dcb3724c 100644 --- a/kubecost/enable-kubecost-continuous-rightsizing/kyverno-test.yaml +++ b/kubecost/enable-kubecost-continuous-rightsizing/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: enable-kubecost-continuous-rightsizing policies: -- enable-kubecost-continuous-rightsizing.yaml +- ../enable-kubecost-continuous-rightsizing.yaml resources: - resource.yaml results: diff --git a/kubecost/enable-kubecost-continuous-rightsizing/patchedResource1.yaml b/kubecost/enable-kubecost-continuous-rightsizing/.kyverno-test/patchedResource1.yaml similarity index 100% rename from kubecost/enable-kubecost-continuous-rightsizing/patchedResource1.yaml rename to kubecost/enable-kubecost-continuous-rightsizing/.kyverno-test/patchedResource1.yaml diff --git a/kubecost/enable-kubecost-continuous-rightsizing/resource.yaml b/kubecost/enable-kubecost-continuous-rightsizing/.kyverno-test/resource.yaml similarity index 100% rename from kubecost/enable-kubecost-continuous-rightsizing/resource.yaml rename to kubecost/enable-kubecost-continuous-rightsizing/.kyverno-test/resource.yaml diff --git a/kubecost/enable-kubecost-continuous-rightsizing/02-resources.yaml b/kubecost/enable-kubecost-continuous-rightsizing/02-resources.yaml index 3a6b73b69..87be16ca6 100644 --- a/kubecost/enable-kubecost-continuous-rightsizing/02-resources.yaml +++ b/kubecost/enable-kubecost-continuous-rightsizing/02-resources.yaml @@ -1,4 +1,4 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml \ No newline at end of file +- .kyverno-test/resource.yaml \ No newline at end of file diff --git a/kubecost/enable-kubecost-continuous-rightsizing/03-mutated.yaml b/kubecost/enable-kubecost-continuous-rightsizing/03-mutated.yaml index f22f910b9..3ac7a5830 100644 --- a/kubecost/enable-kubecost-continuous-rightsizing/03-mutated.yaml +++ b/kubecost/enable-kubecost-continuous-rightsizing/03-mutated.yaml @@ -1,6 +1,6 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep assert: -- patchedResource1.yaml +- .kyverno-test/patchedResource1.yaml error: - not-patched-deploy.yaml \ No newline at end of file diff --git a/kubecost/require-kubecost-labels/kyverno-test.yaml b/kubecost/require-kubecost-labels/.kyverno-test/kyverno-test.yaml similarity index 92% rename from kubecost/require-kubecost-labels/kyverno-test.yaml rename to kubecost/require-kubecost-labels/.kyverno-test/kyverno-test.yaml index 2d861228d..41e2fbf5f 100644 --- a/kubecost/require-kubecost-labels/kyverno-test.yaml +++ b/kubecost/require-kubecost-labels/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-kubecost-labels policies: -- require-kubecost-labels.yaml +- ../require-kubecost-labels.yaml resources: - resource.yaml results: diff --git a/kubecost/require-kubecost-labels/resource.yaml b/kubecost/require-kubecost-labels/.kyverno-test/resource.yaml similarity index 100% rename from kubecost/require-kubecost-labels/resource.yaml rename to kubecost/require-kubecost-labels/.kyverno-test/resource.yaml diff --git a/kubevirt/add-services/generatedResource.yaml b/kubevirt/add-services/.kyverno-test/generatedResource.yaml similarity index 100% rename from kubevirt/add-services/generatedResource.yaml rename to kubevirt/add-services/.kyverno-test/generatedResource.yaml diff --git a/kubevirt/add-services/kyverno-test.yaml b/kubevirt/add-services/.kyverno-test/kyverno-test.yaml similarity index 92% rename from kubevirt/add-services/kyverno-test.yaml rename to kubevirt/add-services/.kyverno-test/kyverno-test.yaml index 96eca6307..5ba4358ac 100644 --- a/kubevirt/add-services/kyverno-test.yaml +++ b/kubevirt/add-services/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-service-ssh policies: -- add-services.yaml +- ../add-services.yaml resources: - resource.yaml results: diff --git a/kubevirt/add-services/resource.yaml b/kubevirt/add-services/.kyverno-test/resource.yaml similarity index 100% rename from kubevirt/add-services/resource.yaml rename to kubevirt/add-services/.kyverno-test/resource.yaml diff --git a/kubevirt/enforce-instancetype/kyverno-test.yaml b/kubevirt/enforce-instancetype/.kyverno-test/kyverno-test.yaml similarity index 93% rename from kubevirt/enforce-instancetype/kyverno-test.yaml rename to kubevirt/enforce-instancetype/.kyverno-test/kyverno-test.yaml index 041d83a5f..921505525 100644 --- a/kubevirt/enforce-instancetype/kyverno-test.yaml +++ b/kubevirt/enforce-instancetype/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: enforce-instancetype policies: -- enforce-instancetype.yaml +- ../enforce-instancetype.yaml resources: - resource.yaml results: diff --git a/kubevirt/enforce-instancetype/resource.yaml b/kubevirt/enforce-instancetype/.kyverno-test/resource.yaml similarity index 100% rename from kubevirt/enforce-instancetype/resource.yaml rename to kubevirt/enforce-instancetype/.kyverno-test/resource.yaml diff --git a/nginx-ingress/disallow-ingress-nginx-custom-snippets/kyverno-test.yaml b/nginx-ingress/disallow-ingress-nginx-custom-snippets/.kyverno-test/kyverno-test.yaml similarity index 94% rename from nginx-ingress/disallow-ingress-nginx-custom-snippets/kyverno-test.yaml rename to nginx-ingress/disallow-ingress-nginx-custom-snippets/.kyverno-test/kyverno-test.yaml index 1ad43ff31..d668087bf 100644 --- a/nginx-ingress/disallow-ingress-nginx-custom-snippets/kyverno-test.yaml +++ b/nginx-ingress/disallow-ingress-nginx-custom-snippets/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow_nginx_custom_snippets policies: -- disallow-ingress-nginx-custom-snippets.yaml +- ../disallow-ingress-nginx-custom-snippets.yaml resources: - resources.yaml results: diff --git a/nginx-ingress/disallow-ingress-nginx-custom-snippets/resources.yaml b/nginx-ingress/disallow-ingress-nginx-custom-snippets/.kyverno-test/resources.yaml similarity index 100% rename from nginx-ingress/disallow-ingress-nginx-custom-snippets/resources.yaml rename to nginx-ingress/disallow-ingress-nginx-custom-snippets/.kyverno-test/resources.yaml diff --git a/nginx-ingress/restrict-annotations/kyverno-test.yaml b/nginx-ingress/restrict-annotations/.kyverno-test/kyverno-test.yaml similarity index 93% rename from nginx-ingress/restrict-annotations/kyverno-test.yaml rename to nginx-ingress/restrict-annotations/.kyverno-test/kyverno-test.yaml index 56df93e64..231768b29 100644 --- a/nginx-ingress/restrict-annotations/kyverno-test.yaml +++ b/nginx-ingress/restrict-annotations/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-annotations policies: -- restrict-annotations.yaml +- ../restrict-annotations.yaml resources: - resources.yaml results: diff --git a/nginx-ingress/restrict-annotations/resources.yaml b/nginx-ingress/restrict-annotations/.kyverno-test/resources.yaml similarity index 100% rename from nginx-ingress/restrict-annotations/resources.yaml rename to nginx-ingress/restrict-annotations/.kyverno-test/resources.yaml diff --git a/nginx-ingress/restrict-ingress-paths/kyverno-test.yaml b/nginx-ingress/restrict-ingress-paths/.kyverno-test/kyverno-test.yaml similarity index 92% rename from nginx-ingress/restrict-ingress-paths/kyverno-test.yaml rename to nginx-ingress/restrict-ingress-paths/.kyverno-test/kyverno-test.yaml index dfb846699..c57aa2a7e 100644 --- a/nginx-ingress/restrict-ingress-paths/kyverno-test.yaml +++ b/nginx-ingress/restrict-ingress-paths/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-annotations policies: -- restrict-ingress-paths.yaml +- ../restrict-ingress-paths.yaml resources: - resources.yaml results: diff --git a/nginx-ingress/restrict-ingress-paths/resources.yaml b/nginx-ingress/restrict-ingress-paths/.kyverno-test/resources.yaml similarity index 100% rename from nginx-ingress/restrict-ingress-paths/resources.yaml rename to nginx-ingress/restrict-ingress-paths/.kyverno-test/resources.yaml diff --git a/openshift/check-routes/kyverno-test.yaml b/openshift/check-routes/.kyverno-test/kyverno-test.yaml similarity index 94% rename from openshift/check-routes/kyverno-test.yaml rename to openshift/check-routes/.kyverno-test/kyverno-test.yaml index 67b89aa91..caf9d781b 100644 --- a/openshift/check-routes/kyverno-test.yaml +++ b/openshift/check-routes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-routes policies: -- check-routes.yaml +- ../check-routes.yaml resources: - resources.yaml results: diff --git a/openshift/check-routes/resources.yaml b/openshift/check-routes/.kyverno-test/resources.yaml similarity index 100% rename from openshift/check-routes/resources.yaml rename to openshift/check-routes/.kyverno-test/resources.yaml diff --git a/openshift/disallow-deprecated-apis/kyverno-test.yaml b/openshift/disallow-deprecated-apis/.kyverno-test/kyverno-test.yaml similarity index 95% rename from openshift/disallow-deprecated-apis/kyverno-test.yaml rename to openshift/disallow-deprecated-apis/.kyverno-test/kyverno-test.yaml index c380c2ea2..8d17d1927 100644 --- a/openshift/disallow-deprecated-apis/kyverno-test.yaml +++ b/openshift/disallow-deprecated-apis/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-routes policies: -- disallow-deprecated-apis.yaml +- ../disallow-deprecated-apis.yaml resources: - resources.yaml results: diff --git a/openshift/disallow-deprecated-apis/resources.yaml b/openshift/disallow-deprecated-apis/.kyverno-test/resources.yaml similarity index 100% rename from openshift/disallow-deprecated-apis/resources.yaml rename to openshift/disallow-deprecated-apis/.kyverno-test/resources.yaml diff --git a/openshift/disallow-jenkins-pipeline-strategy/kyverno-test.yaml b/openshift/disallow-jenkins-pipeline-strategy/.kyverno-test/kyverno-test.yaml similarity index 91% rename from openshift/disallow-jenkins-pipeline-strategy/kyverno-test.yaml rename to openshift/disallow-jenkins-pipeline-strategy/.kyverno-test/kyverno-test.yaml index 16a3d03a5..4aadc467a 100644 --- a/openshift/disallow-jenkins-pipeline-strategy/kyverno-test.yaml +++ b/openshift/disallow-jenkins-pipeline-strategy/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-policy policies: -- disallow-jenkins-pipeline-strategy.yaml +- ../disallow-jenkins-pipeline-strategy.yaml resources: - resources.yaml results: diff --git a/openshift/disallow-jenkins-pipeline-strategy/resources.yaml b/openshift/disallow-jenkins-pipeline-strategy/.kyverno-test/resources.yaml similarity index 100% rename from openshift/disallow-jenkins-pipeline-strategy/resources.yaml rename to openshift/disallow-jenkins-pipeline-strategy/.kyverno-test/resources.yaml diff --git a/openshift/disallow-security-context-constraint-anyuid/kyverno-test.yaml b/openshift/disallow-security-context-constraint-anyuid/.kyverno-test/kyverno-test.yaml similarity index 96% rename from openshift/disallow-security-context-constraint-anyuid/kyverno-test.yaml rename to openshift/disallow-security-context-constraint-anyuid/.kyverno-test/kyverno-test.yaml index 5a0e2778a..36c55e3bf 100644 --- a/openshift/disallow-security-context-constraint-anyuid/kyverno-test.yaml +++ b/openshift/disallow-security-context-constraint-anyuid/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-routes policies: -- disallow-security-context-constraint-anyuid.yaml +- ../disallow-security-context-constraint-anyuid.yaml resources: - resources.yaml results: diff --git a/openshift/disallow-security-context-constraint-anyuid/resources.yaml b/openshift/disallow-security-context-constraint-anyuid/.kyverno-test/resources.yaml similarity index 100% rename from openshift/disallow-security-context-constraint-anyuid/resources.yaml rename to openshift/disallow-security-context-constraint-anyuid/.kyverno-test/resources.yaml diff --git a/openshift/disallow-self-provisioner-binding/kyverno-test.yaml b/openshift/disallow-self-provisioner-binding/.kyverno-test/kyverno-test.yaml similarity index 94% rename from openshift/disallow-self-provisioner-binding/kyverno-test.yaml rename to openshift/disallow-self-provisioner-binding/.kyverno-test/kyverno-test.yaml index 17f06ceca..8047d0d8c 100644 --- a/openshift/disallow-self-provisioner-binding/kyverno-test.yaml +++ b/openshift/disallow-self-provisioner-binding/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-routes policies: -- disallow-self-provisioner-binding.yaml +- ../disallow-self-provisioner-binding.yaml resources: - resources.yaml results: diff --git a/openshift/disallow-self-provisioner-binding/resources.yaml b/openshift/disallow-self-provisioner-binding/.kyverno-test/resources.yaml similarity index 100% rename from openshift/disallow-self-provisioner-binding/resources.yaml rename to openshift/disallow-self-provisioner-binding/.kyverno-test/resources.yaml diff --git a/openshift/disallow-self-provisioner-binding/values.yaml b/openshift/disallow-self-provisioner-binding/.kyverno-test/values.yaml similarity index 100% rename from openshift/disallow-self-provisioner-binding/values.yaml rename to openshift/disallow-self-provisioner-binding/.kyverno-test/values.yaml diff --git a/openshift/enforce-etcd-encryption/kyverno-test.yaml b/openshift/enforce-etcd-encryption/.kyverno-test/kyverno-test.yaml similarity index 92% rename from openshift/enforce-etcd-encryption/kyverno-test.yaml rename to openshift/enforce-etcd-encryption/.kyverno-test/kyverno-test.yaml index 016e7b7b2..2cf4b765d 100644 --- a/openshift/enforce-etcd-encryption/kyverno-test.yaml +++ b/openshift/enforce-etcd-encryption/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-policy policies: -- enforce-etcd-encryption.yaml +- ../enforce-etcd-encryption.yaml resources: - resources.yaml results: diff --git a/openshift/enforce-etcd-encryption/resources.yaml b/openshift/enforce-etcd-encryption/.kyverno-test/resources.yaml similarity index 100% rename from openshift/enforce-etcd-encryption/resources.yaml rename to openshift/enforce-etcd-encryption/.kyverno-test/resources.yaml diff --git a/openshift/team-validate-ns-name/kyverno-test.yaml b/openshift/team-validate-ns-name/.kyverno-test/kyverno-test.yaml similarity index 88% rename from openshift/team-validate-ns-name/kyverno-test.yaml rename to openshift/team-validate-ns-name/.kyverno-test/kyverno-test.yaml index 00f61c85a..b3d16f418 100644 --- a/openshift/team-validate-ns-name/kyverno-test.yaml +++ b/openshift/team-validate-ns-name/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: team-validate-ns-name policies: -- team-validate-ns-name.yaml +- ../team-validate-ns-name.yaml resources: - resource.yaml results: diff --git a/openshift/team-validate-ns-name/resource.yaml b/openshift/team-validate-ns-name/.kyverno-test/resource.yaml similarity index 100% rename from openshift/team-validate-ns-name/resource.yaml rename to openshift/team-validate-ns-name/.kyverno-test/resource.yaml diff --git a/openshift/unique-routes/kyverno-test.yaml b/openshift/unique-routes/.kyverno-test/kyverno-test.yaml similarity index 94% rename from openshift/unique-routes/kyverno-test.yaml rename to openshift/unique-routes/.kyverno-test/kyverno-test.yaml index b39f5dba5..1ce2245b7 100644 --- a/openshift/unique-routes/kyverno-test.yaml +++ b/openshift/unique-routes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: unique-routes-tests policies: -- unique-routes.yaml +- ../unique-routes.yaml resources: - resources.yaml results: diff --git a/openshift/unique-routes/mock.yaml b/openshift/unique-routes/.kyverno-test/mock.yaml similarity index 100% rename from openshift/unique-routes/mock.yaml rename to openshift/unique-routes/.kyverno-test/mock.yaml diff --git a/openshift/unique-routes/resources.yaml b/openshift/unique-routes/.kyverno-test/resources.yaml similarity index 100% rename from openshift/unique-routes/resources.yaml rename to openshift/unique-routes/.kyverno-test/resources.yaml diff --git a/other/a/add-certificates-volume/kyverno-test.yaml b/other/a/add-certificates-volume/.kyverno-test/kyverno-test.yaml similarity index 88% rename from other/a/add-certificates-volume/kyverno-test.yaml rename to other/a/add-certificates-volume/.kyverno-test/kyverno-test.yaml index 618435378..466d3cd94 100644 --- a/other/a/add-certificates-volume/kyverno-test.yaml +++ b/other/a/add-certificates-volume/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-volume policies: -- add-certificates-volume.yaml +- ../add-certificates-volume.yaml resources: - resource.yaml results: diff --git a/other/a/add-certificates-volume/patchedResource.yaml b/other/a/add-certificates-volume/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-certificates-volume/patchedResource.yaml rename to other/a/add-certificates-volume/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-certificates-volume/resource.yaml b/other/a/add-certificates-volume/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-certificates-volume/resource.yaml rename to other/a/add-certificates-volume/.kyverno-test/resource.yaml diff --git a/other/a/add-default-resources/kyverno-test.yaml b/other/a/add-default-resources/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/a/add-default-resources/kyverno-test.yaml rename to other/a/add-default-resources/.kyverno-test/kyverno-test.yaml index fbade4df0..97a77d0c1 100644 --- a/other/a/add-default-resources/kyverno-test.yaml +++ b/other/a/add-default-resources/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-default-resources policies: -- add-default-resources.yaml +- ../add-default-resources.yaml resources: - resource.yaml results: diff --git a/other/a/add-default-resources/patchedResource1.yaml b/other/a/add-default-resources/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/a/add-default-resources/patchedResource1.yaml rename to other/a/add-default-resources/.kyverno-test/patchedResource1.yaml diff --git a/other/a/add-default-resources/patchedResource2.yaml b/other/a/add-default-resources/.kyverno-test/patchedResource2.yaml similarity index 100% rename from other/a/add-default-resources/patchedResource2.yaml rename to other/a/add-default-resources/.kyverno-test/patchedResource2.yaml diff --git a/other/a/add-default-resources/patchedResource3.yaml b/other/a/add-default-resources/.kyverno-test/patchedResource3.yaml similarity index 100% rename from other/a/add-default-resources/patchedResource3.yaml rename to other/a/add-default-resources/.kyverno-test/patchedResource3.yaml diff --git a/other/a/add-default-resources/resource.yaml b/other/a/add-default-resources/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-default-resources/resource.yaml rename to other/a/add-default-resources/.kyverno-test/resource.yaml diff --git a/other/a/add-default-securitycontext/kyverno-test.yaml b/other/a/add-default-securitycontext/.kyverno-test/kyverno-test.yaml similarity index 88% rename from other/a/add-default-securitycontext/kyverno-test.yaml rename to other/a/add-default-securitycontext/.kyverno-test/kyverno-test.yaml index 9c27c3987..a371c4aa9 100644 --- a/other/a/add-default-securitycontext/kyverno-test.yaml +++ b/other/a/add-default-securitycontext/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-default-securitycontext policies: -- add-default-securitycontext.yaml +- ../add-default-securitycontext.yaml resources: - resource.yaml results: diff --git a/other/a/add-default-securitycontext/patchedResource.yaml b/other/a/add-default-securitycontext/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-default-securitycontext/patchedResource.yaml rename to other/a/add-default-securitycontext/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-default-securitycontext/resource.yaml b/other/a/add-default-securitycontext/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-default-securitycontext/resource.yaml rename to other/a/add-default-securitycontext/.kyverno-test/resource.yaml diff --git a/other/a/add-env-vars-from-cm/kyverno-test.yaml b/other/a/add-env-vars-from-cm/.kyverno-test/kyverno-test.yaml similarity index 90% rename from other/a/add-env-vars-from-cm/kyverno-test.yaml rename to other/a/add-env-vars-from-cm/.kyverno-test/kyverno-test.yaml index 4b9b7677c..a1896bd4f 100644 --- a/other/a/add-env-vars-from-cm/kyverno-test.yaml +++ b/other/a/add-env-vars-from-cm/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-env-vars-from-cm policies: -- add-env-vars-from-cm.yaml +- ../add-env-vars-from-cm.yaml resources: - resource.yaml results: diff --git a/other/a/add-env-vars-from-cm/patchedResource01.yaml b/other/a/add-env-vars-from-cm/.kyverno-test/patchedResource01.yaml similarity index 100% rename from other/a/add-env-vars-from-cm/patchedResource01.yaml rename to other/a/add-env-vars-from-cm/.kyverno-test/patchedResource01.yaml diff --git a/other/a/add-env-vars-from-cm/resource.yaml b/other/a/add-env-vars-from-cm/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-env-vars-from-cm/resource.yaml rename to other/a/add-env-vars-from-cm/.kyverno-test/resource.yaml diff --git a/other/a/add-image-as-env-var/kyverno-test.yaml b/other/a/add-image-as-env-var/.kyverno-test/kyverno-test.yaml similarity index 95% rename from other/a/add-image-as-env-var/kyverno-test.yaml rename to other/a/add-image-as-env-var/.kyverno-test/kyverno-test.yaml index f23a40588..cec86a091 100644 --- a/other/a/add-image-as-env-var/kyverno-test.yaml +++ b/other/a/add-image-as-env-var/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-image-as-env-var policies: -- add-image-as-env-var.yaml +- ../add-image-as-env-var.yaml resources: - resource.yaml results: diff --git a/other/a/add-image-as-env-var/patched-pod01.yaml b/other/a/add-image-as-env-var/.kyverno-test/patched-pod01.yaml similarity index 100% rename from other/a/add-image-as-env-var/patched-pod01.yaml rename to other/a/add-image-as-env-var/.kyverno-test/patched-pod01.yaml diff --git a/other/a/add-image-as-env-var/patched-pod02.yaml b/other/a/add-image-as-env-var/.kyverno-test/patched-pod02.yaml similarity index 100% rename from other/a/add-image-as-env-var/patched-pod02.yaml rename to other/a/add-image-as-env-var/.kyverno-test/patched-pod02.yaml diff --git a/other/a/add-image-as-env-var/patched-pod03.yaml b/other/a/add-image-as-env-var/.kyverno-test/patched-pod03.yaml similarity index 100% rename from other/a/add-image-as-env-var/patched-pod03.yaml rename to other/a/add-image-as-env-var/.kyverno-test/patched-pod03.yaml diff --git a/other/a/add-image-as-env-var/resource.yaml b/other/a/add-image-as-env-var/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-image-as-env-var/resource.yaml rename to other/a/add-image-as-env-var/.kyverno-test/resource.yaml diff --git a/other/a/add-imagepullsecrets-for-containers-and-initcontainers/kyverno-test.yaml b/other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/a/add-imagepullsecrets-for-containers-and-initcontainers/kyverno-test.yaml rename to other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/kyverno-test.yaml index 378d6cf55..7cd7770af 100644 --- a/other/a/add-imagepullsecrets-for-containers-and-initcontainers/kyverno-test.yaml +++ b/other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-imagepullsecrets-for-containers-and-initcontainers policies: -- add-imagepullsecrets-for-containers-and-initcontainers.yaml +- ../add-imagepullsecrets-for-containers-and-initcontainers.yaml resources: - resource.yaml results: diff --git a/other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource1.yaml b/other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource1.yaml rename to other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource1.yaml diff --git a/other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource2.yaml b/other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource2.yaml similarity index 100% rename from other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource2.yaml rename to other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource2.yaml diff --git a/other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource3.yaml b/other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource3.yaml similarity index 100% rename from other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource3.yaml rename to other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource3.yaml diff --git a/other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource4.yaml b/other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource4.yaml similarity index 100% rename from other/a/add-imagepullsecrets-for-containers-and-initcontainers/patchedResource4.yaml rename to other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/patchedResource4.yaml diff --git a/other/a/add-imagepullsecrets-for-containers-and-initcontainers/resource.yaml b/other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-imagepullsecrets-for-containers-and-initcontainers/resource.yaml rename to other/a/add-imagepullsecrets-for-containers-and-initcontainers/.kyverno-test/resource.yaml diff --git a/other/a/add-imagepullsecrets/kyverno-test.yaml b/other/a/add-imagepullsecrets/.kyverno-test/kyverno-test.yaml similarity index 95% rename from other/a/add-imagepullsecrets/kyverno-test.yaml rename to other/a/add-imagepullsecrets/.kyverno-test/kyverno-test.yaml index f17511352..01ab16d08 100644 --- a/other/a/add-imagepullsecrets/kyverno-test.yaml +++ b/other/a/add-imagepullsecrets/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-imagepullsecrets policies: -- add-imagepullsecrets.yaml +- ../add-imagepullsecrets.yaml resources: - resource.yaml results: diff --git a/other/a/add-imagepullsecrets/patchedResource1.yaml b/other/a/add-imagepullsecrets/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/a/add-imagepullsecrets/patchedResource1.yaml rename to other/a/add-imagepullsecrets/.kyverno-test/patchedResource1.yaml diff --git a/other/a/add-imagepullsecrets/patchedResource2.yaml b/other/a/add-imagepullsecrets/.kyverno-test/patchedResource2.yaml similarity index 100% rename from other/a/add-imagepullsecrets/patchedResource2.yaml rename to other/a/add-imagepullsecrets/.kyverno-test/patchedResource2.yaml diff --git a/other/a/add-imagepullsecrets/patchedResource3.yaml b/other/a/add-imagepullsecrets/.kyverno-test/patchedResource3.yaml similarity index 100% rename from other/a/add-imagepullsecrets/patchedResource3.yaml rename to other/a/add-imagepullsecrets/.kyverno-test/patchedResource3.yaml diff --git a/other/a/add-imagepullsecrets/resource.yaml b/other/a/add-imagepullsecrets/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-imagepullsecrets/resource.yaml rename to other/a/add-imagepullsecrets/.kyverno-test/resource.yaml diff --git a/other/a/add-labels/kyverno-test.yaml b/other/a/add-labels/.kyverno-test/kyverno-test.yaml similarity index 95% rename from other/a/add-labels/kyverno-test.yaml rename to other/a/add-labels/.kyverno-test/kyverno-test.yaml index 9b5cc1b7f..0cbe22b84 100644 --- a/other/a/add-labels/kyverno-test.yaml +++ b/other/a/add-labels/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-labels policies: -- add-labels.yaml +- ../add-labels.yaml resources: - resource.yaml results: diff --git a/other/a/add-labels/patchedResource.yaml b/other/a/add-labels/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-labels/patchedResource.yaml rename to other/a/add-labels/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-labels/patchedResource1.yaml b/other/a/add-labels/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/a/add-labels/patchedResource1.yaml rename to other/a/add-labels/.kyverno-test/patchedResource1.yaml diff --git a/other/a/add-labels/resource.yaml b/other/a/add-labels/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-labels/resource.yaml rename to other/a/add-labels/.kyverno-test/resource.yaml diff --git a/other/a/add-ndots/kyverno-test.yaml b/other/a/add-ndots/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/a/add-ndots/kyverno-test.yaml rename to other/a/add-ndots/.kyverno-test/kyverno-test.yaml index b118c9b82..4a5b800e4 100644 --- a/other/a/add-ndots/kyverno-test.yaml +++ b/other/a/add-ndots/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-ndots policies: -- add-ndots.yaml +- ../add-ndots.yaml resources: - resource.yaml results: diff --git a/other/a/add-ndots/patchedResource.yaml b/other/a/add-ndots/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-ndots/patchedResource.yaml rename to other/a/add-ndots/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-ndots/resource.yaml b/other/a/add-ndots/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-ndots/resource.yaml rename to other/a/add-ndots/.kyverno-test/resource.yaml diff --git a/other/a/add-node-affinity/kyverno-test.yaml b/other/a/add-node-affinity/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/a/add-node-affinity/kyverno-test.yaml rename to other/a/add-node-affinity/.kyverno-test/kyverno-test.yaml index 2b527b6fe..29ae194a6 100644 --- a/other/a/add-node-affinity/kyverno-test.yaml +++ b/other/a/add-node-affinity/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-node-affinity policies: -- add-node-affinity.yaml +- ../add-node-affinity.yaml resources: - resource.yaml results: diff --git a/other/a/add-node-affinity/patchedResource.yaml b/other/a/add-node-affinity/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-node-affinity/patchedResource.yaml rename to other/a/add-node-affinity/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-node-affinity/resource.yaml b/other/a/add-node-affinity/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-node-affinity/resource.yaml rename to other/a/add-node-affinity/.kyverno-test/resource.yaml diff --git a/other/a/add-nodeSelector/kyverno-test.yaml b/other/a/add-nodeSelector/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/a/add-nodeSelector/kyverno-test.yaml rename to other/a/add-nodeSelector/.kyverno-test/kyverno-test.yaml index e1fd36df6..a4aaa5b9e 100644 --- a/other/a/add-nodeSelector/kyverno-test.yaml +++ b/other/a/add-nodeSelector/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-nodeselector policies: -- add-nodeSelector.yaml +- ../add-nodeSelector.yaml resources: - resource.yaml results: diff --git a/other/a/add-nodeSelector/patchedResource.yaml b/other/a/add-nodeSelector/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-nodeSelector/patchedResource.yaml rename to other/a/add-nodeSelector/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-nodeSelector/resource.yaml b/other/a/add-nodeSelector/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-nodeSelector/resource.yaml rename to other/a/add-nodeSelector/.kyverno-test/resource.yaml diff --git a/other/a/add-pod-priorityclassname/kyverno-test.yaml b/other/a/add-pod-priorityclassname/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/a/add-pod-priorityclassname/kyverno-test.yaml rename to other/a/add-pod-priorityclassname/.kyverno-test/kyverno-test.yaml index 03947e356..64089fa70 100644 --- a/other/a/add-pod-priorityclassname/kyverno-test.yaml +++ b/other/a/add-pod-priorityclassname/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-pod-priorityclassname policies: -- add-pod-priorityclassname.yaml +- ../add-pod-priorityclassname.yaml resources: - resource.yaml results: diff --git a/other/a/add-pod-priorityclassname/patchedResource.yaml b/other/a/add-pod-priorityclassname/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-pod-priorityclassname/patchedResource.yaml rename to other/a/add-pod-priorityclassname/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-pod-priorityclassname/resource.yaml b/other/a/add-pod-priorityclassname/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-pod-priorityclassname/resource.yaml rename to other/a/add-pod-priorityclassname/.kyverno-test/resource.yaml diff --git a/other/a/add-pod-priorityclassname/values.yaml b/other/a/add-pod-priorityclassname/.kyverno-test/values.yaml similarity index 100% rename from other/a/add-pod-priorityclassname/values.yaml rename to other/a/add-pod-priorityclassname/.kyverno-test/values.yaml diff --git a/other/a/add-pod-proxies/kyverno-test.yaml b/other/a/add-pod-proxies/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/a/add-pod-proxies/kyverno-test.yaml rename to other/a/add-pod-proxies/.kyverno-test/kyverno-test.yaml index 58f8643e6..23c0ea553 100644 --- a/other/a/add-pod-proxies/kyverno-test.yaml +++ b/other/a/add-pod-proxies/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-pod-proxies policies: -- add-pod-proxies.yaml +- ../add-pod-proxies.yaml resources: - resource.yaml results: diff --git a/other/a/add-pod-proxies/patchedResource1.yaml b/other/a/add-pod-proxies/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/a/add-pod-proxies/patchedResource1.yaml rename to other/a/add-pod-proxies/.kyverno-test/patchedResource1.yaml diff --git a/other/a/add-pod-proxies/patchedResource2.yaml b/other/a/add-pod-proxies/.kyverno-test/patchedResource2.yaml similarity index 100% rename from other/a/add-pod-proxies/patchedResource2.yaml rename to other/a/add-pod-proxies/.kyverno-test/patchedResource2.yaml diff --git a/other/a/add-pod-proxies/resource.yaml b/other/a/add-pod-proxies/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-pod-proxies/resource.yaml rename to other/a/add-pod-proxies/.kyverno-test/resource.yaml diff --git a/other/a/add-tolerations/kyverno-test.yaml b/other/a/add-tolerations/.kyverno-test/kyverno-test.yaml similarity index 95% rename from other/a/add-tolerations/kyverno-test.yaml rename to other/a/add-tolerations/.kyverno-test/kyverno-test.yaml index 353c5795f..965707680 100644 --- a/other/a/add-tolerations/kyverno-test.yaml +++ b/other/a/add-tolerations/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: apply-pss-restricted-profile policies: -- add-tolerations.yaml +- ../add-tolerations.yaml resources: - resource.yaml results: diff --git a/other/a/add-tolerations/patched01.yaml b/other/a/add-tolerations/.kyverno-test/patched01.yaml similarity index 100% rename from other/a/add-tolerations/patched01.yaml rename to other/a/add-tolerations/.kyverno-test/patched01.yaml diff --git a/other/a/add-tolerations/patched02.yaml b/other/a/add-tolerations/.kyverno-test/patched02.yaml similarity index 100% rename from other/a/add-tolerations/patched02.yaml rename to other/a/add-tolerations/.kyverno-test/patched02.yaml diff --git a/other/a/add-tolerations/resource.yaml b/other/a/add-tolerations/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-tolerations/resource.yaml rename to other/a/add-tolerations/.kyverno-test/resource.yaml diff --git a/other/a/add-ttl-jobs/kyverno-test.yaml b/other/a/add-ttl-jobs/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/a/add-ttl-jobs/kyverno-test.yaml rename to other/a/add-ttl-jobs/.kyverno-test/kyverno-test.yaml index c31970123..6e10e6ca4 100644 --- a/other/a/add-ttl-jobs/kyverno-test.yaml +++ b/other/a/add-ttl-jobs/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-ttl-jobs policies: -- add-ttl-jobs.yaml +- ../add-ttl-jobs.yaml resources: - resource.yaml results: diff --git a/other/a/add-ttl-jobs/patched01.yaml b/other/a/add-ttl-jobs/.kyverno-test/patched01.yaml similarity index 100% rename from other/a/add-ttl-jobs/patched01.yaml rename to other/a/add-ttl-jobs/.kyverno-test/patched01.yaml diff --git a/other/a/add-ttl-jobs/resource.yaml b/other/a/add-ttl-jobs/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-ttl-jobs/resource.yaml rename to other/a/add-ttl-jobs/.kyverno-test/resource.yaml diff --git a/other/a/add-volume-deployment/kyverno-test.yaml b/other/a/add-volume-deployment/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/a/add-volume-deployment/kyverno-test.yaml rename to other/a/add-volume-deployment/.kyverno-test/kyverno-test.yaml index 319a93cb5..015f33042 100644 --- a/other/a/add-volume-deployment/kyverno-test.yaml +++ b/other/a/add-volume-deployment/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-volume policies: -- add-volume-deployment.yaml +- ../add-volume-deployment.yaml resources: - resource.yaml results: diff --git a/other/a/add-volume-deployment/patchedResource.yaml b/other/a/add-volume-deployment/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/a/add-volume-deployment/patchedResource.yaml rename to other/a/add-volume-deployment/.kyverno-test/patchedResource.yaml diff --git a/other/a/add-volume-deployment/resource.yaml b/other/a/add-volume-deployment/.kyverno-test/resource.yaml similarity index 100% rename from other/a/add-volume-deployment/resource.yaml rename to other/a/add-volume-deployment/.kyverno-test/resource.yaml diff --git a/other/a/advanced-restrict-image-registries/kyverno-test.yaml b/other/a/advanced-restrict-image-registries/.kyverno-test/kyverno-test.yaml similarity index 90% rename from other/a/advanced-restrict-image-registries/kyverno-test.yaml rename to other/a/advanced-restrict-image-registries/.kyverno-test/kyverno-test.yaml index ad4dac5f0..8625be793 100644 --- a/other/a/advanced-restrict-image-registries/kyverno-test.yaml +++ b/other/a/advanced-restrict-image-registries/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: advanced-restrict-image-registries policies: -- advanced-restrict-image-registries.yaml +- ../advanced-restrict-image-registries.yaml resources: - resource.yaml results: diff --git a/other/a/advanced-restrict-image-registries/resource.yaml b/other/a/advanced-restrict-image-registries/.kyverno-test/resource.yaml similarity index 100% rename from other/a/advanced-restrict-image-registries/resource.yaml rename to other/a/advanced-restrict-image-registries/.kyverno-test/resource.yaml diff --git a/other/a/advanced-restrict-image-registries/values.yaml b/other/a/advanced-restrict-image-registries/.kyverno-test/values.yaml similarity index 100% rename from other/a/advanced-restrict-image-registries/values.yaml rename to other/a/advanced-restrict-image-registries/.kyverno-test/values.yaml diff --git a/other/a/allowed-annotations/kyverno-test.yaml b/other/a/allowed-annotations/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/a/allowed-annotations/kyverno-test.yaml rename to other/a/allowed-annotations/.kyverno-test/kyverno-test.yaml index 48cb6a05a..2e46de21c 100644 --- a/other/a/allowed-annotations/kyverno-test.yaml +++ b/other/a/allowed-annotations/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: allowed-annotations policies: -- allowed-annotations.yaml +- ../allowed-annotations.yaml resources: - resource.yaml results: diff --git a/other/a/allowed-annotations/resource.yaml b/other/a/allowed-annotations/.kyverno-test/resource.yaml similarity index 100% rename from other/a/allowed-annotations/resource.yaml rename to other/a/allowed-annotations/.kyverno-test/resource.yaml diff --git a/other/a/allowed-label-changes/kyverno-test.yaml b/other/a/allowed-label-changes/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/a/allowed-label-changes/kyverno-test.yaml rename to other/a/allowed-label-changes/.kyverno-test/kyverno-test.yaml index e34ecc3d3..de45aa18c 100644 --- a/other/a/allowed-label-changes/kyverno-test.yaml +++ b/other/a/allowed-label-changes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: allowed-label-changes policies: -- allowed-label-changes.yaml +- ../allowed-label-changes.yaml resources: - resource.yaml results: diff --git a/other/a/allowed-label-changes/resource.yaml b/other/a/allowed-label-changes/.kyverno-test/resource.yaml similarity index 100% rename from other/a/allowed-label-changes/resource.yaml rename to other/a/allowed-label-changes/.kyverno-test/resource.yaml diff --git a/other/a/allowed-label-changes/values.yaml b/other/a/allowed-label-changes/.kyverno-test/values.yaml similarity index 100% rename from other/a/allowed-label-changes/values.yaml rename to other/a/allowed-label-changes/.kyverno-test/values.yaml diff --git a/other/a/allowed-pod-priorities/kyverno-test.yaml b/other/a/allowed-pod-priorities/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/a/allowed-pod-priorities/kyverno-test.yaml rename to other/a/allowed-pod-priorities/.kyverno-test/kyverno-test.yaml index ec4debba8..3ca64a787 100644 --- a/other/a/allowed-pod-priorities/kyverno-test.yaml +++ b/other/a/allowed-pod-priorities/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: allowed-podpriorities policies: -- allowed-pod-priorities.yaml +- ../allowed-pod-priorities.yaml resources: - resource.yaml results: diff --git a/other/a/allowed-pod-priorities/resource.yaml b/other/a/allowed-pod-priorities/.kyverno-test/resource.yaml similarity index 100% rename from other/a/allowed-pod-priorities/resource.yaml rename to other/a/allowed-pod-priorities/.kyverno-test/resource.yaml diff --git a/other/a/allowed-pod-priorities/values.yaml b/other/a/allowed-pod-priorities/.kyverno-test/values.yaml similarity index 100% rename from other/a/allowed-pod-priorities/values.yaml rename to other/a/allowed-pod-priorities/.kyverno-test/values.yaml diff --git a/other/a/always-pull-images/kyverno-test.yaml b/other/a/always-pull-images/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/a/always-pull-images/kyverno-test.yaml rename to other/a/always-pull-images/.kyverno-test/kyverno-test.yaml index 8d01ede84..26a0c0172 100644 --- a/other/a/always-pull-images/kyverno-test.yaml +++ b/other/a/always-pull-images/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: always-pull-images policies: -- always-pull-images.yaml +- ../always-pull-images.yaml resources: - resource.yaml results: diff --git a/other/a/always-pull-images/patchedResource1.yaml b/other/a/always-pull-images/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/a/always-pull-images/patchedResource1.yaml rename to other/a/always-pull-images/.kyverno-test/patchedResource1.yaml diff --git a/other/a/always-pull-images/patchedResource2.yaml b/other/a/always-pull-images/.kyverno-test/patchedResource2.yaml similarity index 100% rename from other/a/always-pull-images/patchedResource2.yaml rename to other/a/always-pull-images/.kyverno-test/patchedResource2.yaml diff --git a/other/a/always-pull-images/resource.yaml b/other/a/always-pull-images/.kyverno-test/resource.yaml similarity index 100% rename from other/a/always-pull-images/resource.yaml rename to other/a/always-pull-images/.kyverno-test/resource.yaml diff --git a/other/a/apply-pss-restricted-profile/kyverno-test.yaml b/other/a/apply-pss-restricted-profile/.kyverno-test/kyverno-test.yaml similarity index 88% rename from other/a/apply-pss-restricted-profile/kyverno-test.yaml rename to other/a/apply-pss-restricted-profile/.kyverno-test/kyverno-test.yaml index f9528dcfc..ab193d930 100644 --- a/other/a/apply-pss-restricted-profile/kyverno-test.yaml +++ b/other/a/apply-pss-restricted-profile/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: apply-pss-restricted-profile policies: -- apply-pss-restricted-profile.yaml +- ../apply-pss-restricted-profile.yaml resources: - resource.yaml results: diff --git a/other/a/apply-pss-restricted-profile/mutatedmypod.yaml b/other/a/apply-pss-restricted-profile/.kyverno-test/mutatedmypod.yaml similarity index 100% rename from other/a/apply-pss-restricted-profile/mutatedmypod.yaml rename to other/a/apply-pss-restricted-profile/.kyverno-test/mutatedmypod.yaml diff --git a/other/a/apply-pss-restricted-profile/resource.yaml b/other/a/apply-pss-restricted-profile/.kyverno-test/resource.yaml similarity index 100% rename from other/a/apply-pss-restricted-profile/resource.yaml rename to other/a/apply-pss-restricted-profile/.kyverno-test/resource.yaml diff --git a/other/b-d/block-images-with-volumes/bad.yaml b/other/b-d/block-images-with-volumes/.kyverno-test/bad.yaml similarity index 100% rename from other/b-d/block-images-with-volumes/bad.yaml rename to other/b-d/block-images-with-volumes/.kyverno-test/bad.yaml diff --git a/other/b-d/block-images-with-volumes/good.yaml b/other/b-d/block-images-with-volumes/.kyverno-test/good.yaml similarity index 100% rename from other/b-d/block-images-with-volumes/good.yaml rename to other/b-d/block-images-with-volumes/.kyverno-test/good.yaml diff --git a/other/b-d/block-images-with-volumes/kyverno-test.yaml b/other/b-d/block-images-with-volumes/.kyverno-test/kyverno-test.yaml similarity index 88% rename from other/b-d/block-images-with-volumes/kyverno-test.yaml rename to other/b-d/block-images-with-volumes/.kyverno-test/kyverno-test.yaml index 532bdb969..30a6e5205 100644 --- a/other/b-d/block-images-with-volumes/kyverno-test.yaml +++ b/other/b-d/block-images-with-volumes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: block-images-with-volumes policies: -- block-images-with-volumes.yaml +- ../block-images-with-volumes.yaml resources: - good.yaml - bad.yaml diff --git a/other/b-d/block-images-with-volumes/values.yaml b/other/b-d/block-images-with-volumes/.kyverno-test/values.yaml similarity index 100% rename from other/b-d/block-images-with-volumes/values.yaml rename to other/b-d/block-images-with-volumes/.kyverno-test/values.yaml diff --git a/other/b-d/block-large-images/bad.yaml b/other/b-d/block-large-images/.kyverno-test/bad.yaml similarity index 100% rename from other/b-d/block-large-images/bad.yaml rename to other/b-d/block-large-images/.kyverno-test/bad.yaml diff --git a/other/b-d/block-large-images/good.yaml b/other/b-d/block-large-images/.kyverno-test/good.yaml similarity index 100% rename from other/b-d/block-large-images/good.yaml rename to other/b-d/block-large-images/.kyverno-test/good.yaml diff --git a/other/b-d/block-large-images/kyverno-test.yaml b/other/b-d/block-large-images/.kyverno-test/kyverno-test.yaml similarity index 90% rename from other/b-d/block-large-images/kyverno-test.yaml rename to other/b-d/block-large-images/.kyverno-test/kyverno-test.yaml index 01432fe7a..355de7274 100644 --- a/other/b-d/block-large-images/kyverno-test.yaml +++ b/other/b-d/block-large-images/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: block-large-images policies: -- block-large-images.yaml +- ../block-large-images.yaml resources: - good.yaml - bad.yaml diff --git a/other/b-d/block-large-images/values.yaml b/other/b-d/block-large-images/.kyverno-test/values.yaml similarity index 100% rename from other/b-d/block-large-images/values.yaml rename to other/b-d/block-large-images/.kyverno-test/values.yaml diff --git a/other/b-d/block-stale-images/bad.yaml b/other/b-d/block-stale-images/.kyverno-test/bad.yaml similarity index 100% rename from other/b-d/block-stale-images/bad.yaml rename to other/b-d/block-stale-images/.kyverno-test/bad.yaml diff --git a/other/b-d/block-stale-images/good.yaml b/other/b-d/block-stale-images/.kyverno-test/good.yaml similarity index 100% rename from other/b-d/block-stale-images/good.yaml rename to other/b-d/block-stale-images/.kyverno-test/good.yaml diff --git a/other/b-d/block-stale-images/kyverno-test.yaml b/other/b-d/block-stale-images/.kyverno-test/kyverno-test.yaml similarity index 90% rename from other/b-d/block-stale-images/kyverno-test.yaml rename to other/b-d/block-stale-images/.kyverno-test/kyverno-test.yaml index ce20e8948..f5b518910 100644 --- a/other/b-d/block-stale-images/kyverno-test.yaml +++ b/other/b-d/block-stale-images/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: block-stale-images policies: -- block-stale-images.yaml +- ../block-stale-images.yaml resources: - bad.yaml - good.yaml diff --git a/other/b-d/block-stale-images/values.yaml b/other/b-d/block-stale-images/.kyverno-test/values.yaml similarity index 100% rename from other/b-d/block-stale-images/values.yaml rename to other/b-d/block-stale-images/.kyverno-test/values.yaml diff --git a/other/b-d/block-updates-deletes/kyverno-test.yaml b/other/b-d/block-updates-deletes/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/b-d/block-updates-deletes/kyverno-test.yaml rename to other/b-d/block-updates-deletes/.kyverno-test/kyverno-test.yaml index ed0f19ef3..9769365d1 100644 --- a/other/b-d/block-updates-deletes/kyverno-test.yaml +++ b/other/b-d/block-updates-deletes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: block-updates-deletes policies: -- block-updates-deletes.yaml +- ../block-updates-deletes.yaml resources: - resource.yaml results: diff --git a/other/b-d/block-updates-deletes/resource.yaml b/other/b-d/block-updates-deletes/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/block-updates-deletes/resource.yaml rename to other/b-d/block-updates-deletes/.kyverno-test/resource.yaml diff --git a/other/b-d/block-updates-deletes/values.yaml b/other/b-d/block-updates-deletes/.kyverno-test/values.yaml similarity index 100% rename from other/b-d/block-updates-deletes/values.yaml rename to other/b-d/block-updates-deletes/.kyverno-test/values.yaml diff --git a/other/b-d/check-env-vars/kyverno-test.yaml b/other/b-d/check-env-vars/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/b-d/check-env-vars/kyverno-test.yaml rename to other/b-d/check-env-vars/.kyverno-test/kyverno-test.yaml index 0ff13727b..95ea8d9f6 100644 --- a/other/b-d/check-env-vars/kyverno-test.yaml +++ b/other/b-d/check-env-vars/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: opa-env policies: -- check-env-vars.yaml +- ../check-env-vars.yaml resources: - resource.yaml results: diff --git a/other/b-d/check-env-vars/resource.yaml b/other/b-d/check-env-vars/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/check-env-vars/resource.yaml rename to other/b-d/check-env-vars/.kyverno-test/resource.yaml diff --git a/other/b-d/check-nvidia-gpu/bad.yaml b/other/b-d/check-nvidia-gpu/.kyverno-test/bad.yaml similarity index 100% rename from other/b-d/check-nvidia-gpu/bad.yaml rename to other/b-d/check-nvidia-gpu/.kyverno-test/bad.yaml diff --git a/other/b-d/check-nvidia-gpu/good01.yaml b/other/b-d/check-nvidia-gpu/.kyverno-test/good01.yaml similarity index 100% rename from other/b-d/check-nvidia-gpu/good01.yaml rename to other/b-d/check-nvidia-gpu/.kyverno-test/good01.yaml diff --git a/other/b-d/check-nvidia-gpu/good02.yaml b/other/b-d/check-nvidia-gpu/.kyverno-test/good02.yaml similarity index 100% rename from other/b-d/check-nvidia-gpu/good02.yaml rename to other/b-d/check-nvidia-gpu/.kyverno-test/good02.yaml diff --git a/other/b-d/check-nvidia-gpu/good03.yaml b/other/b-d/check-nvidia-gpu/.kyverno-test/good03.yaml similarity index 100% rename from other/b-d/check-nvidia-gpu/good03.yaml rename to other/b-d/check-nvidia-gpu/.kyverno-test/good03.yaml diff --git a/other/b-d/check-nvidia-gpu/kyverno-test.yaml b/other/b-d/check-nvidia-gpu/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/b-d/check-nvidia-gpu/kyverno-test.yaml rename to other/b-d/check-nvidia-gpu/.kyverno-test/kyverno-test.yaml index 348156a70..f3e985968 100644 --- a/other/b-d/check-nvidia-gpu/kyverno-test.yaml +++ b/other/b-d/check-nvidia-gpu/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-nvidia-gpus policies: -- check-nvidia-gpu.yaml +- ../check-nvidia-gpu.yaml resources: - good01.yaml - good02.yaml diff --git a/other/b-d/check-nvidia-gpu/values.yaml b/other/b-d/check-nvidia-gpu/.kyverno-test/values.yaml similarity index 100% rename from other/b-d/check-nvidia-gpu/values.yaml rename to other/b-d/check-nvidia-gpu/.kyverno-test/values.yaml diff --git a/other/b-d/check-serviceaccount/kyverno-test.yaml b/other/b-d/check-serviceaccount/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/b-d/check-serviceaccount/kyverno-test.yaml rename to other/b-d/check-serviceaccount/.kyverno-test/kyverno-test.yaml index 189c9806c..00b5973fd 100644 --- a/other/b-d/check-serviceaccount/kyverno-test.yaml +++ b/other/b-d/check-serviceaccount/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: check-sa policies: -- check-serviceaccount.yaml +- ../check-serviceaccount.yaml resources: - resource.yaml results: diff --git a/other/b-d/check-serviceaccount/resource.yaml b/other/b-d/check-serviceaccount/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/check-serviceaccount/resource.yaml rename to other/b-d/check-serviceaccount/.kyverno-test/resource.yaml diff --git a/other/b-d/check-serviceaccount/values.yaml b/other/b-d/check-serviceaccount/.kyverno-test/values.yaml similarity index 100% rename from other/b-d/check-serviceaccount/values.yaml rename to other/b-d/check-serviceaccount/.kyverno-test/values.yaml diff --git a/other/b-d/create-default-pdb/generatedResource.yaml b/other/b-d/create-default-pdb/.kyverno-test/generatedResource.yaml similarity index 100% rename from other/b-d/create-default-pdb/generatedResource.yaml rename to other/b-d/create-default-pdb/.kyverno-test/generatedResource.yaml diff --git a/other/b-d/create-default-pdb/kyverno-test.yaml b/other/b-d/create-default-pdb/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/b-d/create-default-pdb/kyverno-test.yaml rename to other/b-d/create-default-pdb/.kyverno-test/kyverno-test.yaml index 0c6746c24..c432f57e5 100644 --- a/other/b-d/create-default-pdb/kyverno-test.yaml +++ b/other/b-d/create-default-pdb/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: pdb-test policies: -- create-default-pdb.yaml +- ../create-default-pdb.yaml resources: - resource.yaml results: diff --git a/other/b-d/create-default-pdb/resource.yaml b/other/b-d/create-default-pdb/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/create-default-pdb/resource.yaml rename to other/b-d/create-default-pdb/.kyverno-test/resource.yaml diff --git a/other/b-d/create-pod-antiaffinity/kyverno-test.yaml b/other/b-d/create-pod-antiaffinity/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/b-d/create-pod-antiaffinity/kyverno-test.yaml rename to other/b-d/create-pod-antiaffinity/.kyverno-test/kyverno-test.yaml index 6ba64697f..042ce2a66 100644 --- a/other/b-d/create-pod-antiaffinity/kyverno-test.yaml +++ b/other/b-d/create-pod-antiaffinity/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: insert-pod-antiaffinity policies: -- create-pod-antiaffinity.yaml +- ../create-pod-antiaffinity.yaml resources: - resource.yaml results: diff --git a/other/b-d/create-pod-antiaffinity/patchedResource.yaml b/other/b-d/create-pod-antiaffinity/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/b-d/create-pod-antiaffinity/patchedResource.yaml rename to other/b-d/create-pod-antiaffinity/.kyverno-test/patchedResource.yaml diff --git a/other/b-d/create-pod-antiaffinity/resource.yaml b/other/b-d/create-pod-antiaffinity/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/create-pod-antiaffinity/resource.yaml rename to other/b-d/create-pod-antiaffinity/.kyverno-test/resource.yaml diff --git a/other/b-d/deny-commands-in-exec-probe/kyverno-test.yaml b/other/b-d/deny-commands-in-exec-probe/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/b-d/deny-commands-in-exec-probe/kyverno-test.yaml rename to other/b-d/deny-commands-in-exec-probe/.kyverno-test/kyverno-test.yaml index 6f69b7516..0e9825553 100644 --- a/other/b-d/deny-commands-in-exec-probe/kyverno-test.yaml +++ b/other/b-d/deny-commands-in-exec-probe/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: deny-commands-in-exec-probe policies: -- deny-commands-in-exec-probe.yaml +- ../deny-commands-in-exec-probe.yaml resources: - resource.yaml results: diff --git a/other/b-d/deny-commands-in-exec-probe/resource.yaml b/other/b-d/deny-commands-in-exec-probe/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/deny-commands-in-exec-probe/resource.yaml rename to other/b-d/deny-commands-in-exec-probe/.kyverno-test/resource.yaml diff --git a/other/b-d/disable-automountserviceaccounttoken/kyverno-test.yaml b/other/b-d/disable-automountserviceaccounttoken/.kyverno-test/kyverno-test.yaml similarity index 87% rename from other/b-d/disable-automountserviceaccounttoken/kyverno-test.yaml rename to other/b-d/disable-automountserviceaccounttoken/.kyverno-test/kyverno-test.yaml index b7c34530e..08b4f7056 100644 --- a/other/b-d/disable-automountserviceaccounttoken/kyverno-test.yaml +++ b/other/b-d/disable-automountserviceaccounttoken/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disable-automountserviceaccounttoken policies: -- disable-automountserviceaccounttoken.yaml +- ../disable-automountserviceaccounttoken.yaml resources: - resource.yaml results: diff --git a/other/b-d/disable-automountserviceaccounttoken/patchedResource.yaml b/other/b-d/disable-automountserviceaccounttoken/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/b-d/disable-automountserviceaccounttoken/patchedResource.yaml rename to other/b-d/disable-automountserviceaccounttoken/.kyverno-test/patchedResource.yaml diff --git a/other/b-d/disable-automountserviceaccounttoken/resource.yaml b/other/b-d/disable-automountserviceaccounttoken/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/disable-automountserviceaccounttoken/resource.yaml rename to other/b-d/disable-automountserviceaccounttoken/.kyverno-test/resource.yaml diff --git a/other/b-d/disallow-all-secrets/kyverno-test.yaml b/other/b-d/disallow-all-secrets/.kyverno-test/kyverno-test.yaml similarity index 96% rename from other/b-d/disallow-all-secrets/kyverno-test.yaml rename to other/b-d/disallow-all-secrets/.kyverno-test/kyverno-test.yaml index 696f2d92b..a13374f4a 100644 --- a/other/b-d/disallow-all-secrets/kyverno-test.yaml +++ b/other/b-d/disallow-all-secrets/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: no-secrets policies: -- disallow-all-secrets.yaml +- ../disallow-all-secrets.yaml resources: - resource.yaml results: diff --git a/other/b-d/disallow-all-secrets/resource.yaml b/other/b-d/disallow-all-secrets/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/disallow-all-secrets/resource.yaml rename to other/b-d/disallow-all-secrets/.kyverno-test/resource.yaml diff --git a/other/b-d/disallow-localhost-services/kyverno-test.yaml b/other/b-d/disallow-localhost-services/.kyverno-test/kyverno-test.yaml similarity index 90% rename from other/b-d/disallow-localhost-services/kyverno-test.yaml rename to other/b-d/disallow-localhost-services/.kyverno-test/kyverno-test.yaml index 9643d1777..d4317b266 100644 --- a/other/b-d/disallow-localhost-services/kyverno-test.yaml +++ b/other/b-d/disallow-localhost-services/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: no-localhost-service policies: -- disallow-localhost-services.yaml +- ../disallow-localhost-services.yaml resources: - resource.yaml results: diff --git a/other/b-d/disallow-localhost-services/resource.yaml b/other/b-d/disallow-localhost-services/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/disallow-localhost-services/resource.yaml rename to other/b-d/disallow-localhost-services/.kyverno-test/resource.yaml diff --git a/other/b-d/disallow-secrets-from-env-vars/kyverno-test.yaml b/other/b-d/disallow-secrets-from-env-vars/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/b-d/disallow-secrets-from-env-vars/kyverno-test.yaml rename to other/b-d/disallow-secrets-from-env-vars/.kyverno-test/kyverno-test.yaml index d100ddf4f..c0211594a 100644 --- a/other/b-d/disallow-secrets-from-env-vars/kyverno-test.yaml +++ b/other/b-d/disallow-secrets-from-env-vars/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: secrets-not-from-env-vars policies: -- disallow-secrets-from-env-vars.yaml +- ../disallow-secrets-from-env-vars.yaml resources: - resource.yaml results: diff --git a/other/b-d/disallow-secrets-from-env-vars/resource.yaml b/other/b-d/disallow-secrets-from-env-vars/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/disallow-secrets-from-env-vars/resource.yaml rename to other/b-d/disallow-secrets-from-env-vars/.kyverno-test/resource.yaml diff --git a/other/b-d/dns-policy-and-dns-config/kyverno-test.yaml b/other/b-d/dns-policy-and-dns-config/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/b-d/dns-policy-and-dns-config/kyverno-test.yaml rename to other/b-d/dns-policy-and-dns-config/.kyverno-test/kyverno-test.yaml index 121e1cac6..0a7517b30 100644 --- a/other/b-d/dns-policy-and-dns-config/kyverno-test.yaml +++ b/other/b-d/dns-policy-and-dns-config/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: change-dns-config-policy policies: -- dns-policy-and-dns-config.yaml +- ../dns-policy-and-dns-config.yaml resources: - resource.yaml results: diff --git a/other/b-d/dns-policy-and-dns-config/patchedResource.yaml b/other/b-d/dns-policy-and-dns-config/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/b-d/dns-policy-and-dns-config/patchedResource.yaml rename to other/b-d/dns-policy-and-dns-config/.kyverno-test/patchedResource.yaml diff --git a/other/b-d/dns-policy-and-dns-config/resource.yaml b/other/b-d/dns-policy-and-dns-config/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/dns-policy-and-dns-config/resource.yaml rename to other/b-d/dns-policy-and-dns-config/.kyverno-test/resource.yaml diff --git a/other/b-d/dns-policy-and-dns-config/variables.yaml b/other/b-d/dns-policy-and-dns-config/.kyverno-test/variables.yaml similarity index 100% rename from other/b-d/dns-policy-and-dns-config/variables.yaml rename to other/b-d/dns-policy-and-dns-config/.kyverno-test/variables.yaml diff --git a/other/b-d/docker-socket-requires-label/kyverno-test.yaml b/other/b-d/docker-socket-requires-label/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/b-d/docker-socket-requires-label/kyverno-test.yaml rename to other/b-d/docker-socket-requires-label/.kyverno-test/kyverno-test.yaml index 848e608d2..6237feb66 100644 --- a/other/b-d/docker-socket-requires-label/kyverno-test.yaml +++ b/other/b-d/docker-socket-requires-label/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: docker-socket-check policies: -- docker-socket-requires-label.yaml +- ../docker-socket-requires-label.yaml resources: - resource.yaml results: diff --git a/other/b-d/docker-socket-requires-label/resource.yaml b/other/b-d/docker-socket-requires-label/.kyverno-test/resource.yaml similarity index 100% rename from other/b-d/docker-socket-requires-label/resource.yaml rename to other/b-d/docker-socket-requires-label/.kyverno-test/resource.yaml diff --git a/other/e-l/enforce-pod-duration/kyverno-test.yaml b/other/e-l/enforce-pod-duration/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/e-l/enforce-pod-duration/kyverno-test.yaml rename to other/e-l/enforce-pod-duration/.kyverno-test/kyverno-test.yaml index 8d074068d..d4eaab5bd 100644 --- a/other/e-l/enforce-pod-duration/kyverno-test.yaml +++ b/other/e-l/enforce-pod-duration/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: pod-lifetime policies: -- enforce-pod-duration.yaml +- ../enforce-pod-duration.yaml resources: - resources.yaml results: diff --git a/other/e-l/enforce-pod-duration/resources.yaml b/other/e-l/enforce-pod-duration/.kyverno-test/resources.yaml similarity index 100% rename from other/e-l/enforce-pod-duration/resources.yaml rename to other/e-l/enforce-pod-duration/.kyverno-test/resources.yaml diff --git a/other/e-l/enforce-resources-as-ratio/kyverno-test.yaml b/other/e-l/enforce-resources-as-ratio/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/e-l/enforce-resources-as-ratio/kyverno-test.yaml rename to other/e-l/enforce-resources-as-ratio/.kyverno-test/kyverno-test.yaml index c1a4100be..bc1494fac 100644 --- a/other/e-l/enforce-resources-as-ratio/kyverno-test.yaml +++ b/other/e-l/enforce-resources-as-ratio/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: enforce-resources-as-ratio policies: -- enforce-resources-as-ratio.yaml +- ../enforce-resources-as-ratio.yaml resources: - resource.yaml results: diff --git a/other/e-l/enforce-resources-as-ratio/resource.yaml b/other/e-l/enforce-resources-as-ratio/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/enforce-resources-as-ratio/resource.yaml rename to other/e-l/enforce-resources-as-ratio/.kyverno-test/resource.yaml diff --git a/other/e-l/enforce-resources-as-ratio/values.yaml b/other/e-l/enforce-resources-as-ratio/.kyverno-test/values.yaml similarity index 100% rename from other/e-l/enforce-resources-as-ratio/values.yaml rename to other/e-l/enforce-resources-as-ratio/.kyverno-test/values.yaml diff --git a/other/e-l/ensure-probes-different/kyverno-test.yaml b/other/e-l/ensure-probes-different/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/e-l/ensure-probes-different/kyverno-test.yaml rename to other/e-l/ensure-probes-different/.kyverno-test/kyverno-test.yaml index fc7dc391b..c6d04d095 100644 --- a/other/e-l/ensure-probes-different/kyverno-test.yaml +++ b/other/e-l/ensure-probes-different/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: validate-probes policies: -- ensure-probes-different.yaml +- ../ensure-probes-different.yaml resources: - resource.yaml results: diff --git a/other/e-l/ensure-probes-different/resource.yaml b/other/e-l/ensure-probes-different/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/ensure-probes-different/resource.yaml rename to other/e-l/ensure-probes-different/.kyverno-test/resource.yaml diff --git a/other/e-l/ensure-production-matches-staging/kyverno-test.yaml b/other/e-l/ensure-production-matches-staging/.kyverno-test/kyverno-test.yaml similarity index 78% rename from other/e-l/ensure-production-matches-staging/kyverno-test.yaml rename to other/e-l/ensure-production-matches-staging/.kyverno-test/kyverno-test.yaml index e09044d1c..489e472c0 100644 --- a/other/e-l/ensure-production-matches-staging/kyverno-test.yaml +++ b/other/e-l/ensure-production-matches-staging/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: ensure-production-matches-staging policies: -- ensure-production-matches-staging.yaml +- ../ensure-production-matches-staging.yaml resources: - resource.yaml variables: values.yaml diff --git a/other/e-l/ensure-production-matches-staging/resource.yaml b/other/e-l/ensure-production-matches-staging/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/ensure-production-matches-staging/resource.yaml rename to other/e-l/ensure-production-matches-staging/.kyverno-test/resource.yaml diff --git a/other/e-l/ensure-production-matches-staging/values.yaml b/other/e-l/ensure-production-matches-staging/.kyverno-test/values.yaml similarity index 100% rename from other/e-l/ensure-production-matches-staging/values.yaml rename to other/e-l/ensure-production-matches-staging/.kyverno-test/values.yaml diff --git a/other/e-l/ensure-readonly-hostpath/bad-pod-01.yaml b/other/e-l/ensure-readonly-hostpath/.kyverno-test/bad-pod-01.yaml similarity index 100% rename from other/e-l/ensure-readonly-hostpath/bad-pod-01.yaml rename to other/e-l/ensure-readonly-hostpath/.kyverno-test/bad-pod-01.yaml diff --git a/other/e-l/ensure-readonly-hostpath/good-pod-01.yaml b/other/e-l/ensure-readonly-hostpath/.kyverno-test/good-pod-01.yaml similarity index 100% rename from other/e-l/ensure-readonly-hostpath/good-pod-01.yaml rename to other/e-l/ensure-readonly-hostpath/.kyverno-test/good-pod-01.yaml diff --git a/other/e-l/ensure-readonly-hostpath/kyverno-test.yaml b/other/e-l/ensure-readonly-hostpath/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/e-l/ensure-readonly-hostpath/kyverno-test.yaml rename to other/e-l/ensure-readonly-hostpath/.kyverno-test/kyverno-test.yaml index 6f0227161..7d60a8bd8 100644 --- a/other/e-l/ensure-readonly-hostpath/kyverno-test.yaml +++ b/other/e-l/ensure-readonly-hostpath/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: ensure-readonly-hostpath policies: -- ensure-readonly-hostpath.yaml +- ../ensure-readonly-hostpath.yaml resources: - good-pod-01.yaml - bad-pod-01.yaml diff --git a/other/e-l/ensure-readonly-hostpath/values.yaml b/other/e-l/ensure-readonly-hostpath/.kyverno-test/values.yaml similarity index 100% rename from other/e-l/ensure-readonly-hostpath/values.yaml rename to other/e-l/ensure-readonly-hostpath/.kyverno-test/values.yaml diff --git a/other/e-l/ensure-readonly-hostpath/02-manifests.yaml b/other/e-l/ensure-readonly-hostpath/02-manifests.yaml index b34bd7ce7..f2775e22c 100644 --- a/other/e-l/ensure-readonly-hostpath/02-manifests.yaml +++ b/other/e-l/ensure-readonly-hostpath/02-manifests.yaml @@ -3,11 +3,11 @@ kind: TestStep apply: - file: pods-good.yaml shouldFail: false -- file: good-pod-01.yaml +- file: .kyverno-test/good-pod-01.yaml shouldFail: false - file: pods-bad.yaml shouldFail: true -- file: bad-pod-01.yaml +- file: .kyverno-test/bad-pod-01.yaml shouldFail: true - file: bad-pod-02.yaml shouldFail: true diff --git a/other/e-l/exclude-namespaces-dynamically/kyverno-test.yaml b/other/e-l/exclude-namespaces-dynamically/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/e-l/exclude-namespaces-dynamically/kyverno-test.yaml rename to other/e-l/exclude-namespaces-dynamically/.kyverno-test/kyverno-test.yaml index fdddc3bc4..122598282 100644 --- a/other/e-l/exclude-namespaces-dynamically/kyverno-test.yaml +++ b/other/e-l/exclude-namespaces-dynamically/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: exclude-namespaces-example policies: -- exclude-namespaces-dynamically.yaml +- ../exclude-namespaces-dynamically.yaml resources: - resource.yaml results: diff --git a/other/e-l/exclude-namespaces-dynamically/resource.yaml b/other/e-l/exclude-namespaces-dynamically/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/exclude-namespaces-dynamically/resource.yaml rename to other/e-l/exclude-namespaces-dynamically/.kyverno-test/resource.yaml diff --git a/other/e-l/exclude-namespaces-dynamically/values.yaml b/other/e-l/exclude-namespaces-dynamically/.kyverno-test/values.yaml similarity index 100% rename from other/e-l/exclude-namespaces-dynamically/values.yaml rename to other/e-l/exclude-namespaces-dynamically/.kyverno-test/values.yaml diff --git a/other/e-l/forbid-cpu-limits/kyverno-test.yaml b/other/e-l/forbid-cpu-limits/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/e-l/forbid-cpu-limits/kyverno-test.yaml rename to other/e-l/forbid-cpu-limits/.kyverno-test/kyverno-test.yaml index 742b99385..4b56ba491 100644 --- a/other/e-l/forbid-cpu-limits/kyverno-test.yaml +++ b/other/e-l/forbid-cpu-limits/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: forbid-cpu-limits policies: -- forbid-cpu-limits.yaml +- ../forbid-cpu-limits.yaml resources: - resource.yaml results: diff --git a/other/e-l/forbid-cpu-limits/resource.yaml b/other/e-l/forbid-cpu-limits/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/forbid-cpu-limits/resource.yaml rename to other/e-l/forbid-cpu-limits/.kyverno-test/resource.yaml diff --git a/other/e-l/imagepullpolicy-always/kyverno-test.yaml b/other/e-l/imagepullpolicy-always/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/e-l/imagepullpolicy-always/kyverno-test.yaml rename to other/e-l/imagepullpolicy-always/.kyverno-test/kyverno-test.yaml index 8059a5c75..252cf757a 100644 --- a/other/e-l/imagepullpolicy-always/kyverno-test.yaml +++ b/other/e-l/imagepullpolicy-always/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: imagepullpolicy-always policies: -- imagepullpolicy-always.yaml +- ../imagepullpolicy-always.yaml resources: - resource.yaml results: diff --git a/other/e-l/imagepullpolicy-always/resource.yaml b/other/e-l/imagepullpolicy-always/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/imagepullpolicy-always/resource.yaml rename to other/e-l/imagepullpolicy-always/.kyverno-test/resource.yaml diff --git a/other/e-l/ingress-host-match-tls/kyverno-test.yaml b/other/e-l/ingress-host-match-tls/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/e-l/ingress-host-match-tls/kyverno-test.yaml rename to other/e-l/ingress-host-match-tls/.kyverno-test/kyverno-test.yaml index 3b5ccdf52..40067a412 100644 --- a/other/e-l/ingress-host-match-tls/kyverno-test.yaml +++ b/other/e-l/ingress-host-match-tls/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: ingress-host-match-tls policies: -- ingress-host-match-tls.yaml +- ../ingress-host-match-tls.yaml resources: - resource.yaml results: diff --git a/other/e-l/ingress-host-match-tls/resource.yaml b/other/e-l/ingress-host-match-tls/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/ingress-host-match-tls/resource.yaml rename to other/e-l/ingress-host-match-tls/.kyverno-test/resource.yaml diff --git a/other/e-l/inject-sidecar-deployment/kyverno-test.yaml b/other/e-l/inject-sidecar-deployment/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/e-l/inject-sidecar-deployment/kyverno-test.yaml rename to other/e-l/inject-sidecar-deployment/.kyverno-test/kyverno-test.yaml index d1e213fca..3d882e26b 100644 --- a/other/e-l/inject-sidecar-deployment/kyverno-test.yaml +++ b/other/e-l/inject-sidecar-deployment/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: inject-sidecar policies: -- inject-sidecar-deployment.yaml +- ../inject-sidecar-deployment.yaml resources: - resource.yaml results: diff --git a/other/e-l/inject-sidecar-deployment/patchedResource1.yaml b/other/e-l/inject-sidecar-deployment/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/e-l/inject-sidecar-deployment/patchedResource1.yaml rename to other/e-l/inject-sidecar-deployment/.kyverno-test/patchedResource1.yaml diff --git a/other/e-l/inject-sidecar-deployment/patchedResource2.yaml b/other/e-l/inject-sidecar-deployment/.kyverno-test/patchedResource2.yaml similarity index 100% rename from other/e-l/inject-sidecar-deployment/patchedResource2.yaml rename to other/e-l/inject-sidecar-deployment/.kyverno-test/patchedResource2.yaml diff --git a/other/e-l/inject-sidecar-deployment/resource.yaml b/other/e-l/inject-sidecar-deployment/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/inject-sidecar-deployment/resource.yaml rename to other/e-l/inject-sidecar-deployment/.kyverno-test/resource.yaml diff --git a/other/e-l/limit-configmap-for-sa/kyverno-test.yaml b/other/e-l/limit-configmap-for-sa/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/e-l/limit-configmap-for-sa/kyverno-test.yaml rename to other/e-l/limit-configmap-for-sa/.kyverno-test/kyverno-test.yaml index 1c47cf53d..f1d0f682c 100644 --- a/other/e-l/limit-configmap-for-sa/kyverno-test.yaml +++ b/other/e-l/limit-configmap-for-sa/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: limit-configmap-for-sa policies: -- limit-configmap-for-sa.yaml +- ../limit-configmap-for-sa.yaml resources: - resource.yaml results: diff --git a/other/e-l/limit-configmap-for-sa/resource.yaml b/other/e-l/limit-configmap-for-sa/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/limit-configmap-for-sa/resource.yaml rename to other/e-l/limit-configmap-for-sa/.kyverno-test/resource.yaml diff --git a/other/e-l/limit-configmap-for-sa/variables.yaml b/other/e-l/limit-configmap-for-sa/.kyverno-test/variables.yaml similarity index 100% rename from other/e-l/limit-configmap-for-sa/variables.yaml rename to other/e-l/limit-configmap-for-sa/.kyverno-test/variables.yaml diff --git a/other/e-l/limit-containers-per-pod/kyverno-test.yaml b/other/e-l/limit-containers-per-pod/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/e-l/limit-containers-per-pod/kyverno-test.yaml rename to other/e-l/limit-containers-per-pod/.kyverno-test/kyverno-test.yaml index 2338744b0..2e2681721 100644 --- a/other/e-l/limit-containers-per-pod/kyverno-test.yaml +++ b/other/e-l/limit-containers-per-pod/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: limit-containers-per-pod policies: -- limit-containers-per-pod.yaml +- ../limit-containers-per-pod.yaml resources: - resource.yaml results: diff --git a/other/e-l/limit-containers-per-pod/resource.yaml b/other/e-l/limit-containers-per-pod/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/limit-containers-per-pod/resource.yaml rename to other/e-l/limit-containers-per-pod/.kyverno-test/resource.yaml diff --git a/other/e-l/limit-hostpath-type-pv/kyverno-test.yaml b/other/e-l/limit-hostpath-type-pv/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/e-l/limit-hostpath-type-pv/kyverno-test.yaml rename to other/e-l/limit-hostpath-type-pv/.kyverno-test/kyverno-test.yaml index bb5f53a95..903d1cae6 100644 --- a/other/e-l/limit-hostpath-type-pv/kyverno-test.yaml +++ b/other/e-l/limit-hostpath-type-pv/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: limit-hostpath-type-pv policies: -- limit-hostpath-type-pv.yaml +- ../limit-hostpath-type-pv.yaml resources: - resource.yaml results: diff --git a/other/e-l/limit-hostpath-type-pv/resource.yaml b/other/e-l/limit-hostpath-type-pv/.kyverno-test/resource.yaml similarity index 100% rename from other/e-l/limit-hostpath-type-pv/resource.yaml rename to other/e-l/limit-hostpath-type-pv/.kyverno-test/resource.yaml diff --git a/other/e-l/limit-hostpath-vols/badpod.yaml b/other/e-l/limit-hostpath-vols/.kyverno-test/badpod.yaml similarity index 100% rename from other/e-l/limit-hostpath-vols/badpod.yaml rename to other/e-l/limit-hostpath-vols/.kyverno-test/badpod.yaml diff --git a/other/e-l/limit-hostpath-vols/goodpod.yaml b/other/e-l/limit-hostpath-vols/.kyverno-test/goodpod.yaml similarity index 100% rename from other/e-l/limit-hostpath-vols/goodpod.yaml rename to other/e-l/limit-hostpath-vols/.kyverno-test/goodpod.yaml diff --git a/other/e-l/limit-hostpath-vols/kyverno-test.yaml b/other/e-l/limit-hostpath-vols/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/e-l/limit-hostpath-vols/kyverno-test.yaml rename to other/e-l/limit-hostpath-vols/.kyverno-test/kyverno-test.yaml index 913e3b117..904dc13b1 100644 --- a/other/e-l/limit-hostpath-vols/kyverno-test.yaml +++ b/other/e-l/limit-hostpath-vols/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: limit-hostpath-vols policies: -- limit-hostpath-vols.yaml +- ../limit-hostpath-vols.yaml resources: - goodpod.yaml - badpod.yaml diff --git a/other/e-l/limit-hostpath-vols/values.yaml b/other/e-l/limit-hostpath-vols/.kyverno-test/values.yaml similarity index 100% rename from other/e-l/limit-hostpath-vols/values.yaml rename to other/e-l/limit-hostpath-vols/.kyverno-test/values.yaml diff --git a/other/m-q/memory-requests-equal-limits/kyverno-test.yaml b/other/m-q/memory-requests-equal-limits/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/m-q/memory-requests-equal-limits/kyverno-test.yaml rename to other/m-q/memory-requests-equal-limits/.kyverno-test/kyverno-test.yaml index c53b8f2b3..77f3dfca2 100644 --- a/other/m-q/memory-requests-equal-limits/kyverno-test.yaml +++ b/other/m-q/memory-requests-equal-limits/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: memory-requests-equal-limits policies: -- memory-requests-equal-limits.yaml +- ../memory-requests-equal-limits.yaml resources: - resource.yaml results: diff --git a/other/m-q/memory-requests-equal-limits/resource.yaml b/other/m-q/memory-requests-equal-limits/.kyverno-test/resource.yaml similarity index 100% rename from other/m-q/memory-requests-equal-limits/resource.yaml rename to other/m-q/memory-requests-equal-limits/.kyverno-test/resource.yaml diff --git a/other/m-q/mitigate-log4shell/kyverno-test.yaml b/other/m-q/mitigate-log4shell/.kyverno-test/kyverno-test.yaml similarity index 96% rename from other/m-q/mitigate-log4shell/kyverno-test.yaml rename to other/m-q/mitigate-log4shell/.kyverno-test/kyverno-test.yaml index 2dafb1d8a..ba15c75ba 100644 --- a/other/m-q/mitigate-log4shell/kyverno-test.yaml +++ b/other/m-q/mitigate-log4shell/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: log4shell-mitigation policies: -- mitigate-log4shell.yaml +- ../mitigate-log4shell.yaml resources: - resource.yaml results: diff --git a/other/m-q/mitigate-log4shell/patchedResource.yaml b/other/m-q/mitigate-log4shell/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/m-q/mitigate-log4shell/patchedResource.yaml rename to other/m-q/mitigate-log4shell/.kyverno-test/patchedResource.yaml diff --git a/other/m-q/mitigate-log4shell/patchedResource1.yaml b/other/m-q/mitigate-log4shell/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/m-q/mitigate-log4shell/patchedResource1.yaml rename to other/m-q/mitigate-log4shell/.kyverno-test/patchedResource1.yaml diff --git a/other/m-q/mitigate-log4shell/resource.yaml b/other/m-q/mitigate-log4shell/.kyverno-test/resource.yaml similarity index 100% rename from other/m-q/mitigate-log4shell/resource.yaml rename to other/m-q/mitigate-log4shell/.kyverno-test/resource.yaml diff --git a/other/m-q/mutate-large-termination-gps/kyverno-test.yaml b/other/m-q/mutate-large-termination-gps/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/m-q/mutate-large-termination-gps/kyverno-test.yaml rename to other/m-q/mutate-large-termination-gps/.kyverno-test/kyverno-test.yaml index 7963ae105..85c69a8d0 100644 --- a/other/m-q/mutate-large-termination-gps/kyverno-test.yaml +++ b/other/m-q/mutate-large-termination-gps/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: mutate-termination-grace-period-seconds policies: -- mutate-large-termination-gps.yaml +- ../mutate-large-termination-gps.yaml resources: - resource.yaml results: diff --git a/other/m-q/mutate-large-termination-gps/patchedResource1.yaml b/other/m-q/mutate-large-termination-gps/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/m-q/mutate-large-termination-gps/patchedResource1.yaml rename to other/m-q/mutate-large-termination-gps/.kyverno-test/patchedResource1.yaml diff --git a/other/m-q/mutate-large-termination-gps/patchedResource2.yaml b/other/m-q/mutate-large-termination-gps/.kyverno-test/patchedResource2.yaml similarity index 100% rename from other/m-q/mutate-large-termination-gps/patchedResource2.yaml rename to other/m-q/mutate-large-termination-gps/.kyverno-test/patchedResource2.yaml diff --git a/other/m-q/mutate-large-termination-gps/resource.yaml b/other/m-q/mutate-large-termination-gps/.kyverno-test/resource.yaml similarity index 100% rename from other/m-q/mutate-large-termination-gps/resource.yaml rename to other/m-q/mutate-large-termination-gps/.kyverno-test/resource.yaml diff --git a/other/m-q/nfs-subdir-external-provisioner-storage-path/kyverno-test.yaml b/other/m-q/nfs-subdir-external-provisioner-storage-path/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/m-q/nfs-subdir-external-provisioner-storage-path/kyverno-test.yaml rename to other/m-q/nfs-subdir-external-provisioner-storage-path/.kyverno-test/kyverno-test.yaml index 240ef34db..608a7d0ad 100644 --- a/other/m-q/nfs-subdir-external-provisioner-storage-path/kyverno-test.yaml +++ b/other/m-q/nfs-subdir-external-provisioner-storage-path/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: nfs-subdir-external-provisioner-storage-path policies: -- nfs-subdir-external-provisioner-storage-path.yaml +- ../nfs-subdir-external-provisioner-storage-path.yaml resources: - resource.yaml results: diff --git a/other/m-q/nfs-subdir-external-provisioner-storage-path/resource.yaml b/other/m-q/nfs-subdir-external-provisioner-storage-path/.kyverno-test/resource.yaml similarity index 100% rename from other/m-q/nfs-subdir-external-provisioner-storage-path/resource.yaml rename to other/m-q/nfs-subdir-external-provisioner-storage-path/.kyverno-test/resource.yaml diff --git a/other/m-q/only-trustworthy-registries-set-root/bad.yaml b/other/m-q/only-trustworthy-registries-set-root/.kyverno-test/bad.yaml similarity index 100% rename from other/m-q/only-trustworthy-registries-set-root/bad.yaml rename to other/m-q/only-trustworthy-registries-set-root/.kyverno-test/bad.yaml diff --git a/other/m-q/only-trustworthy-registries-set-root/good.yaml b/other/m-q/only-trustworthy-registries-set-root/.kyverno-test/good.yaml similarity index 100% rename from other/m-q/only-trustworthy-registries-set-root/good.yaml rename to other/m-q/only-trustworthy-registries-set-root/.kyverno-test/good.yaml diff --git a/other/m-q/only-trustworthy-registries-set-root/kyverno-test.yaml b/other/m-q/only-trustworthy-registries-set-root/.kyverno-test/kyverno-test.yaml similarity index 88% rename from other/m-q/only-trustworthy-registries-set-root/kyverno-test.yaml rename to other/m-q/only-trustworthy-registries-set-root/.kyverno-test/kyverno-test.yaml index 2f6be4608..166dde73c 100644 --- a/other/m-q/only-trustworthy-registries-set-root/kyverno-test.yaml +++ b/other/m-q/only-trustworthy-registries-set-root/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: only-trustworthy-registries-set-root policies: -- only-trustworthy-registries-set-root.yaml +- ../only-trustworthy-registries-set-root.yaml resources: - good.yaml - bad.yaml diff --git a/other/m-q/only-trustworthy-registries-set-root/values.yaml b/other/m-q/only-trustworthy-registries-set-root/.kyverno-test/values.yaml similarity index 100% rename from other/m-q/only-trustworthy-registries-set-root/values.yaml rename to other/m-q/only-trustworthy-registries-set-root/.kyverno-test/values.yaml diff --git a/other/m-q/pdb-maxunavailable/kyverno-test.yaml b/other/m-q/pdb-maxunavailable/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/m-q/pdb-maxunavailable/kyverno-test.yaml rename to other/m-q/pdb-maxunavailable/.kyverno-test/kyverno-test.yaml index cfe58a057..de54dcca9 100644 --- a/other/m-q/pdb-maxunavailable/kyverno-test.yaml +++ b/other/m-q/pdb-maxunavailable/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: pdb-maxunavailable policies: -- pdb-maxunavailable.yaml +- ../pdb-maxunavailable.yaml resources: - resource.yaml results: diff --git a/other/m-q/pdb-maxunavailable/resource.yaml b/other/m-q/pdb-maxunavailable/.kyverno-test/resource.yaml similarity index 100% rename from other/m-q/pdb-maxunavailable/resource.yaml rename to other/m-q/pdb-maxunavailable/.kyverno-test/resource.yaml diff --git a/other/m-q/pdb-minavailable/kyverno-test.yaml b/other/m-q/pdb-minavailable/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/m-q/pdb-minavailable/kyverno-test.yaml rename to other/m-q/pdb-minavailable/.kyverno-test/kyverno-test.yaml index 21ec21be3..1c835aef3 100644 --- a/other/m-q/pdb-minavailable/kyverno-test.yaml +++ b/other/m-q/pdb-minavailable/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: pdb-minavailable-check policies: -- pdb-minavailable.yaml +- ../pdb-minavailable.yaml resources: - resource.yaml results: diff --git a/other/m-q/pdb-minavailable/resource.yaml b/other/m-q/pdb-minavailable/.kyverno-test/resource.yaml similarity index 100% rename from other/m-q/pdb-minavailable/resource.yaml rename to other/m-q/pdb-minavailable/.kyverno-test/resource.yaml diff --git a/other/m-q/pdb-minavailable/values.yaml b/other/m-q/pdb-minavailable/.kyverno-test/values.yaml similarity index 100% rename from other/m-q/pdb-minavailable/values.yaml rename to other/m-q/pdb-minavailable/.kyverno-test/values.yaml diff --git a/other/m-q/prepend-image-registry/failpatchedResource.yaml b/other/m-q/prepend-image-registry/.kyverno-test/failpatchedResource.yaml similarity index 100% rename from other/m-q/prepend-image-registry/failpatchedResource.yaml rename to other/m-q/prepend-image-registry/.kyverno-test/failpatchedResource.yaml diff --git a/other/m-q/prepend-image-registry/kyverno-test.yaml b/other/m-q/prepend-image-registry/.kyverno-test/kyverno-test.yaml similarity index 96% rename from other/m-q/prepend-image-registry/kyverno-test.yaml rename to other/m-q/prepend-image-registry/.kyverno-test/kyverno-test.yaml index e4850bb8c..76b4785ee 100644 --- a/other/m-q/prepend-image-registry/kyverno-test.yaml +++ b/other/m-q/prepend-image-registry/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: prepend-image-registry policies: -- prepend-image-registry.yaml +- ../prepend-image-registry.yaml resources: - resource.yaml - resourceFailed.yaml diff --git a/other/m-q/prepend-image-registry/patchedResource.yaml b/other/m-q/prepend-image-registry/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/m-q/prepend-image-registry/patchedResource.yaml rename to other/m-q/prepend-image-registry/.kyverno-test/patchedResource.yaml diff --git a/other/m-q/prepend-image-registry/patchedResourceWithoutInitContainer.yaml b/other/m-q/prepend-image-registry/.kyverno-test/patchedResourceWithoutInitContainer.yaml similarity index 100% rename from other/m-q/prepend-image-registry/patchedResourceWithoutInitContainer.yaml rename to other/m-q/prepend-image-registry/.kyverno-test/patchedResourceWithoutInitContainer.yaml diff --git a/other/m-q/prepend-image-registry/resource.yaml b/other/m-q/prepend-image-registry/.kyverno-test/resource.yaml similarity index 100% rename from other/m-q/prepend-image-registry/resource.yaml rename to other/m-q/prepend-image-registry/.kyverno-test/resource.yaml diff --git a/other/m-q/prepend-image-registry/resourceFailed.yaml b/other/m-q/prepend-image-registry/.kyverno-test/resourceFailed.yaml similarity index 100% rename from other/m-q/prepend-image-registry/resourceFailed.yaml rename to other/m-q/prepend-image-registry/.kyverno-test/resourceFailed.yaml diff --git a/other/m-q/prepend-image-registry/withoutinitcontainer.yaml b/other/m-q/prepend-image-registry/.kyverno-test/withoutinitcontainer.yaml similarity index 100% rename from other/m-q/prepend-image-registry/withoutinitcontainer.yaml rename to other/m-q/prepend-image-registry/.kyverno-test/withoutinitcontainer.yaml diff --git a/other/m-q/prepend-image-registry/02-manifests.yaml b/other/m-q/prepend-image-registry/02-manifests.yaml index 096b4fd9d..02974d958 100644 --- a/other/m-q/prepend-image-registry/02-manifests.yaml +++ b/other/m-q/prepend-image-registry/02-manifests.yaml @@ -1,13 +1,13 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml -- withoutinitcontainer.yaml -- resourceFailed.yaml +- .kyverno-test/resource.yaml +- .kyverno-test/withoutinitcontainer.yaml +- .kyverno-test/resourceFailed.yaml - pods.yaml assert: -- patchedResource.yaml +- .kyverno-test/patchedResource.yaml - pods-patched.yaml error: -- patchedResourceWithoutInitContainer.yaml -- failpatchedResource.yaml \ No newline at end of file +- .kyverno-test/patchedResourceWithoutInitContainer.yaml +- .kyverno-test/failpatchedResource.yaml \ No newline at end of file diff --git a/other/m-q/prevent-cr8escape/kyverno-test.yaml b/other/m-q/prevent-cr8escape/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/m-q/prevent-cr8escape/kyverno-test.yaml rename to other/m-q/prevent-cr8escape/.kyverno-test/kyverno-test.yaml index 47c7e5be0..e9dae26dc 100644 --- a/other/m-q/prevent-cr8escape/kyverno-test.yaml +++ b/other/m-q/prevent-cr8escape/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict- policies: -- prevent-cr8escape.yaml +- ../prevent-cr8escape.yaml resources: - resources.yaml results: diff --git a/other/m-q/prevent-cr8escape/resources.yaml b/other/m-q/prevent-cr8escape/.kyverno-test/resources.yaml similarity index 100% rename from other/m-q/prevent-cr8escape/resources.yaml rename to other/m-q/prevent-cr8escape/.kyverno-test/resources.yaml diff --git a/other/rec-req/remove-hostpath-volumes/kyverno-test.yaml b/other/rec-req/remove-hostpath-volumes/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/rec-req/remove-hostpath-volumes/kyverno-test.yaml rename to other/rec-req/remove-hostpath-volumes/.kyverno-test/kyverno-test.yaml index 58d6aea22..18b4ea277 100644 --- a/other/rec-req/remove-hostpath-volumes/kyverno-test.yaml +++ b/other/rec-req/remove-hostpath-volumes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: remove-hostpath-volumes policies: -- remove-hostpath-volumes.yaml +- ../remove-hostpath-volumes.yaml resources: - resource.yaml results: diff --git a/other/rec-req/remove-hostpath-volumes/patchedResource.yaml b/other/rec-req/remove-hostpath-volumes/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/rec-req/remove-hostpath-volumes/patchedResource.yaml rename to other/rec-req/remove-hostpath-volumes/.kyverno-test/patchedResource.yaml diff --git a/other/rec-req/remove-hostpath-volumes/resource.yaml b/other/rec-req/remove-hostpath-volumes/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/remove-hostpath-volumes/resource.yaml rename to other/rec-req/remove-hostpath-volumes/.kyverno-test/resource.yaml diff --git a/other/rec-req/remove-serviceaccount-token/kyverno-test.yaml b/other/rec-req/remove-serviceaccount-token/.kyverno-test/kyverno-test.yaml similarity index 88% rename from other/rec-req/remove-serviceaccount-token/kyverno-test.yaml rename to other/rec-req/remove-serviceaccount-token/.kyverno-test/kyverno-test.yaml index b33b03445..7f92ca96a 100644 --- a/other/rec-req/remove-serviceaccount-token/kyverno-test.yaml +++ b/other/rec-req/remove-serviceaccount-token/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: remove-serviceaccount-token policies: -- remove-serviceaccount-token.yaml +- ../remove-serviceaccount-token.yaml resources: - resource.yaml results: diff --git a/other/rec-req/remove-serviceaccount-token/patchedResource.yaml b/other/rec-req/remove-serviceaccount-token/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/rec-req/remove-serviceaccount-token/patchedResource.yaml rename to other/rec-req/remove-serviceaccount-token/.kyverno-test/patchedResource.yaml diff --git a/other/rec-req/remove-serviceaccount-token/resource.yaml b/other/rec-req/remove-serviceaccount-token/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/remove-serviceaccount-token/resource.yaml rename to other/rec-req/remove-serviceaccount-token/.kyverno-test/resource.yaml diff --git a/other/rec-req/replace-image-registry/kyverno-test.yaml b/other/rec-req/replace-image-registry/.kyverno-test/kyverno-test.yaml similarity index 96% rename from other/rec-req/replace-image-registry/kyverno-test.yaml rename to other/rec-req/replace-image-registry/.kyverno-test/kyverno-test.yaml index 8ea2ac6ee..1237454c1 100644 --- a/other/rec-req/replace-image-registry/kyverno-test.yaml +++ b/other/rec-req/replace-image-registry/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: replace-image-registry policies: -- replace-image-registry.yaml +- ../replace-image-registry.yaml resources: - resource.yaml results: diff --git a/other/rec-req/replace-image-registry/patchedResource1.yaml b/other/rec-req/replace-image-registry/.kyverno-test/patchedResource1.yaml similarity index 100% rename from other/rec-req/replace-image-registry/patchedResource1.yaml rename to other/rec-req/replace-image-registry/.kyverno-test/patchedResource1.yaml diff --git a/other/rec-req/replace-image-registry/patchedResource3.yaml b/other/rec-req/replace-image-registry/.kyverno-test/patchedResource3.yaml similarity index 100% rename from other/rec-req/replace-image-registry/patchedResource3.yaml rename to other/rec-req/replace-image-registry/.kyverno-test/patchedResource3.yaml diff --git a/other/rec-req/replace-image-registry/resource.yaml b/other/rec-req/replace-image-registry/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/replace-image-registry/resource.yaml rename to other/rec-req/replace-image-registry/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-deployments-have-multiple-replicas/kyverno-test.yaml b/other/rec-req/require-deployments-have-multiple-replicas/.kyverno-test/kyverno-test.yaml similarity index 84% rename from other/rec-req/require-deployments-have-multiple-replicas/kyverno-test.yaml rename to other/rec-req/require-deployments-have-multiple-replicas/.kyverno-test/kyverno-test.yaml index 66921f51b..f4755fdc2 100644 --- a/other/rec-req/require-deployments-have-multiple-replicas/kyverno-test.yaml +++ b/other/rec-req/require-deployments-have-multiple-replicas/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: deployment-has-multiple-replicas policies: -- require-deployments-have-multiple-replicas.yaml +- ../require-deployments-have-multiple-replicas.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-deployments-have-multiple-replicas/resource.yaml b/other/rec-req/require-deployments-have-multiple-replicas/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-deployments-have-multiple-replicas/resource.yaml rename to other/rec-req/require-deployments-have-multiple-replicas/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-emptydir-requests-limits/kyverno-test.yaml b/other/rec-req/require-emptydir-requests-limits/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/rec-req/require-emptydir-requests-limits/kyverno-test.yaml rename to other/rec-req/require-emptydir-requests-limits/.kyverno-test/kyverno-test.yaml index f3b701bcf..d9f8a6e88 100644 --- a/other/rec-req/require-emptydir-requests-limits/kyverno-test.yaml +++ b/other/rec-req/require-emptydir-requests-limits/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-emptydir-requests-and-limits policies: -- require-emptydir-requests-limits.yaml +- ../require-emptydir-requests-limits.yaml resources: - resource-fail.yaml - resource-pass.yaml diff --git a/other/rec-req/require-emptydir-requests-limits/resource-fail.yaml b/other/rec-req/require-emptydir-requests-limits/.kyverno-test/resource-fail.yaml similarity index 100% rename from other/rec-req/require-emptydir-requests-limits/resource-fail.yaml rename to other/rec-req/require-emptydir-requests-limits/.kyverno-test/resource-fail.yaml diff --git a/other/rec-req/require-emptydir-requests-limits/resource-pass.yaml b/other/rec-req/require-emptydir-requests-limits/.kyverno-test/resource-pass.yaml similarity index 100% rename from other/rec-req/require-emptydir-requests-limits/resource-pass.yaml rename to other/rec-req/require-emptydir-requests-limits/.kyverno-test/resource-pass.yaml diff --git a/other/rec-req/require-emptydir-requests-limits/resource-skip.yaml b/other/rec-req/require-emptydir-requests-limits/.kyverno-test/resource-skip.yaml similarity index 100% rename from other/rec-req/require-emptydir-requests-limits/resource-skip.yaml rename to other/rec-req/require-emptydir-requests-limits/.kyverno-test/resource-skip.yaml diff --git a/other/rec-req/require-emptydir-requests-limits/values.yaml b/other/rec-req/require-emptydir-requests-limits/.kyverno-test/values.yaml similarity index 100% rename from other/rec-req/require-emptydir-requests-limits/values.yaml rename to other/rec-req/require-emptydir-requests-limits/.kyverno-test/values.yaml diff --git a/other/rec-req/require-image-checksum/kyverno-test.yaml b/other/rec-req/require-image-checksum/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/rec-req/require-image-checksum/kyverno-test.yaml rename to other/rec-req/require-image-checksum/.kyverno-test/kyverno-test.yaml index ef76f4e67..574028fb6 100644 --- a/other/rec-req/require-image-checksum/kyverno-test.yaml +++ b/other/rec-req/require-image-checksum/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-image-checksum policies: -- require-image-checksum.yaml +- ../require-image-checksum.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-image-checksum/resource.yaml b/other/rec-req/require-image-checksum/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-image-checksum/resource.yaml rename to other/rec-req/require-image-checksum/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-image-source/bad.yaml b/other/rec-req/require-image-source/.kyverno-test/bad.yaml similarity index 100% rename from other/rec-req/require-image-source/bad.yaml rename to other/rec-req/require-image-source/.kyverno-test/bad.yaml diff --git a/other/rec-req/require-image-source/good.yaml b/other/rec-req/require-image-source/.kyverno-test/good.yaml similarity index 100% rename from other/rec-req/require-image-source/good.yaml rename to other/rec-req/require-image-source/.kyverno-test/good.yaml diff --git a/other/rec-req/require-image-source/kyverno-test.yaml b/other/rec-req/require-image-source/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/rec-req/require-image-source/kyverno-test.yaml rename to other/rec-req/require-image-source/.kyverno-test/kyverno-test.yaml index 484679da6..8004872e1 100644 --- a/other/rec-req/require-image-source/kyverno-test.yaml +++ b/other/rec-req/require-image-source/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-image-source policies: -- require-image-source.yaml +- ../require-image-source.yaml resources: - good.yaml - bad.yaml diff --git a/other/rec-req/require-image-source/values.yaml b/other/rec-req/require-image-source/.kyverno-test/values.yaml similarity index 100% rename from other/rec-req/require-image-source/values.yaml rename to other/rec-req/require-image-source/.kyverno-test/values.yaml diff --git a/other/rec-req/require-imagepullsecrets/kyverno-test.yaml b/other/rec-req/require-imagepullsecrets/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/rec-req/require-imagepullsecrets/kyverno-test.yaml rename to other/rec-req/require-imagepullsecrets/.kyverno-test/kyverno-test.yaml index dec124f30..247fae051 100644 --- a/other/rec-req/require-imagepullsecrets/kyverno-test.yaml +++ b/other/rec-req/require-imagepullsecrets/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-imagepullsecrets policies: -- require-imagepullsecrets.yaml +- ../require-imagepullsecrets.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-imagepullsecrets/resource.yaml b/other/rec-req/require-imagepullsecrets/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-imagepullsecrets/resource.yaml rename to other/rec-req/require-imagepullsecrets/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-netpol/kyverno-test.yaml b/other/rec-req/require-netpol/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/rec-req/require-netpol/kyverno-test.yaml rename to other/rec-req/require-netpol/.kyverno-test/kyverno-test.yaml index aeccd3d6b..d24fce3a6 100644 --- a/other/rec-req/require-netpol/kyverno-test.yaml +++ b/other/rec-req/require-netpol/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-network-policy policies: -- require-netpol.yaml +- ../require-netpol.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-netpol/resource.yaml b/other/rec-req/require-netpol/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-netpol/resource.yaml rename to other/rec-req/require-netpol/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-netpol/values.yaml b/other/rec-req/require-netpol/.kyverno-test/values.yaml similarity index 100% rename from other/rec-req/require-netpol/values.yaml rename to other/rec-req/require-netpol/.kyverno-test/values.yaml diff --git a/other/rec-req/require-non-root-groups/kyverno-test.yaml b/other/rec-req/require-non-root-groups/.kyverno-test/kyverno-test.yaml similarity index 99% rename from other/rec-req/require-non-root-groups/kyverno-test.yaml rename to other/rec-req/require-non-root-groups/.kyverno-test/kyverno-test.yaml index 25d181d7b..b477f9589 100644 --- a/other/rec-req/require-non-root-groups/kyverno-test.yaml +++ b/other/rec-req/require-non-root-groups/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-non-root-groups policies: -- require-non-root-groups.yaml +- ../require-non-root-groups.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-non-root-groups/resource.yaml b/other/rec-req/require-non-root-groups/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-non-root-groups/resource.yaml rename to other/rec-req/require-non-root-groups/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-pdb/kyverno-test.yaml b/other/rec-req/require-pdb/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/rec-req/require-pdb/kyverno-test.yaml rename to other/rec-req/require-pdb/.kyverno-test/kyverno-test.yaml index 56f492d6f..afde4f811 100644 --- a/other/rec-req/require-pdb/kyverno-test.yaml +++ b/other/rec-req/require-pdb/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-pdb policies: -- require-pdb.yaml +- ../require-pdb.yaml resources: - resource-pass.yaml - resource-skip.yaml diff --git a/other/rec-req/require-pdb/resource-pass.yaml b/other/rec-req/require-pdb/.kyverno-test/resource-pass.yaml similarity index 100% rename from other/rec-req/require-pdb/resource-pass.yaml rename to other/rec-req/require-pdb/.kyverno-test/resource-pass.yaml diff --git a/other/rec-req/require-pdb/resource-skip.yaml b/other/rec-req/require-pdb/.kyverno-test/resource-skip.yaml similarity index 100% rename from other/rec-req/require-pdb/resource-skip.yaml rename to other/rec-req/require-pdb/.kyverno-test/resource-skip.yaml diff --git a/other/rec-req/require-pdb/values.yaml b/other/rec-req/require-pdb/.kyverno-test/values.yaml similarity index 100% rename from other/rec-req/require-pdb/values.yaml rename to other/rec-req/require-pdb/.kyverno-test/values.yaml diff --git a/other/rec-req/require-pod-priorityclassname/kyverno-test.yaml b/other/rec-req/require-pod-priorityclassname/.kyverno-test/kyverno-test.yaml similarity index 90% rename from other/rec-req/require-pod-priorityclassname/kyverno-test.yaml rename to other/rec-req/require-pod-priorityclassname/.kyverno-test/kyverno-test.yaml index c25db2394..3d298dd55 100644 --- a/other/rec-req/require-pod-priorityclassname/kyverno-test.yaml +++ b/other/rec-req/require-pod-priorityclassname/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-pod-priorityclassname policies: -- require-pod-priorityclassname.yaml +- ../require-pod-priorityclassname.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-pod-priorityclassname/resource.yaml b/other/rec-req/require-pod-priorityclassname/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-pod-priorityclassname/resource.yaml rename to other/rec-req/require-pod-priorityclassname/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-qos-burstable/kyverno-test.yaml b/other/rec-req/require-qos-burstable/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/rec-req/require-qos-burstable/kyverno-test.yaml rename to other/rec-req/require-qos-burstable/.kyverno-test/kyverno-test.yaml index 576105aa3..0109cc1de 100644 --- a/other/rec-req/require-qos-burstable/kyverno-test.yaml +++ b/other/rec-req/require-qos-burstable/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-qos-burstable policies: -- require-qos-burstable.yaml +- ../require-qos-burstable.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-qos-burstable/resource.yaml b/other/rec-req/require-qos-burstable/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-qos-burstable/resource.yaml rename to other/rec-req/require-qos-burstable/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-qos-guaranteed/kyverno-test.yaml b/other/rec-req/require-qos-guaranteed/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/rec-req/require-qos-guaranteed/kyverno-test.yaml rename to other/rec-req/require-qos-guaranteed/.kyverno-test/kyverno-test.yaml index 2356d34c4..b11a7e2e1 100644 --- a/other/rec-req/require-qos-guaranteed/kyverno-test.yaml +++ b/other/rec-req/require-qos-guaranteed/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-qos-guaranteed policies: -- require-qos-guaranteed.yaml +- ../require-qos-guaranteed.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-qos-guaranteed/resource.yaml b/other/rec-req/require-qos-guaranteed/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-qos-guaranteed/resource.yaml rename to other/rec-req/require-qos-guaranteed/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-storageclass/kyverno-test.yaml b/other/rec-req/require-storageclass/.kyverno-test/kyverno-test.yaml similarity index 95% rename from other/rec-req/require-storageclass/kyverno-test.yaml rename to other/rec-req/require-storageclass/.kyverno-test/kyverno-test.yaml index c6bcd3a8d..66e050cb9 100644 --- a/other/rec-req/require-storageclass/kyverno-test.yaml +++ b/other/rec-req/require-storageclass/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-storageclass policies: -- require-storageclass.yaml +- ../require-storageclass.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-storageclass/resource.yaml b/other/rec-req/require-storageclass/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-storageclass/resource.yaml rename to other/rec-req/require-storageclass/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-unique-external-dns/kyverno-test.yaml b/other/rec-req/require-unique-external-dns/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/rec-req/require-unique-external-dns/kyverno-test.yaml rename to other/rec-req/require-unique-external-dns/.kyverno-test/kyverno-test.yaml index 8afb5ab8f..c0af6caa5 100644 --- a/other/rec-req/require-unique-external-dns/kyverno-test.yaml +++ b/other/rec-req/require-unique-external-dns/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: unique-external-dns policies: -- require-unique-external-dns.yaml +- ../require-unique-external-dns.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-unique-external-dns/resource.yaml b/other/rec-req/require-unique-external-dns/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-unique-external-dns/resource.yaml rename to other/rec-req/require-unique-external-dns/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-unique-external-dns/values.yaml b/other/rec-req/require-unique-external-dns/.kyverno-test/values.yaml similarity index 100% rename from other/rec-req/require-unique-external-dns/values.yaml rename to other/rec-req/require-unique-external-dns/.kyverno-test/values.yaml diff --git a/other/rec-req/require-unique-uid-per-workload/kyverno-test.yaml b/other/rec-req/require-unique-uid-per-workload/.kyverno-test/kyverno-test.yaml similarity index 90% rename from other/rec-req/require-unique-uid-per-workload/kyverno-test.yaml rename to other/rec-req/require-unique-uid-per-workload/.kyverno-test/kyverno-test.yaml index 9f19dc9f0..2e932da9b 100644 --- a/other/rec-req/require-unique-uid-per-workload/kyverno-test.yaml +++ b/other/rec-req/require-unique-uid-per-workload/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-unique-uid-per-workload policies: -- require-unique-uid-per-workload.yaml +- ../require-unique-uid-per-workload.yaml resources: - resource.yaml results: diff --git a/other/rec-req/require-unique-uid-per-workload/resource.yaml b/other/rec-req/require-unique-uid-per-workload/.kyverno-test/resource.yaml similarity index 100% rename from other/rec-req/require-unique-uid-per-workload/resource.yaml rename to other/rec-req/require-unique-uid-per-workload/.kyverno-test/resource.yaml diff --git a/other/rec-req/require-unique-uid-per-workload/variables.yaml b/other/rec-req/require-unique-uid-per-workload/.kyverno-test/variables.yaml similarity index 100% rename from other/rec-req/require-unique-uid-per-workload/variables.yaml rename to other/rec-req/require-unique-uid-per-workload/.kyverno-test/variables.yaml diff --git a/other/res/resolve-image-to-digest/kyverno-test.yaml b/other/res/resolve-image-to-digest/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/res/resolve-image-to-digest/kyverno-test.yaml rename to other/res/resolve-image-to-digest/.kyverno-test/kyverno-test.yaml index 9297717cd..f522e592a 100644 --- a/other/res/resolve-image-to-digest/kyverno-test.yaml +++ b/other/res/resolve-image-to-digest/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: resolve-image-to-digest policies: -- resolve-image-to-digest.yaml +- ../resolve-image-to-digest.yaml resources: - pod.yaml results: diff --git a/other/res/resolve-image-to-digest/patchedResource.yaml b/other/res/resolve-image-to-digest/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/res/resolve-image-to-digest/patchedResource.yaml rename to other/res/resolve-image-to-digest/.kyverno-test/patchedResource.yaml diff --git a/other/res/resolve-image-to-digest/pod.yaml b/other/res/resolve-image-to-digest/.kyverno-test/pod.yaml similarity index 100% rename from other/res/resolve-image-to-digest/pod.yaml rename to other/res/resolve-image-to-digest/.kyverno-test/pod.yaml diff --git a/other/res/resolve-image-to-digest/values.yaml b/other/res/resolve-image-to-digest/.kyverno-test/values.yaml similarity index 100% rename from other/res/resolve-image-to-digest/values.yaml rename to other/res/resolve-image-to-digest/.kyverno-test/values.yaml diff --git a/other/res/restrict-annotations/kyverno-test.yaml b/other/res/restrict-annotations/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/res/restrict-annotations/kyverno-test.yaml rename to other/res/restrict-annotations/.kyverno-test/kyverno-test.yaml index a7f11fe74..f142f5c0b 100644 --- a/other/res/restrict-annotations/kyverno-test.yaml +++ b/other/res/restrict-annotations/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-annotations policies: -- restrict-annotations.yaml +- ../restrict-annotations.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-annotations/resource.yaml b/other/res/restrict-annotations/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-annotations/resource.yaml rename to other/res/restrict-annotations/.kyverno-test/resource.yaml diff --git a/other/res/restrict-automount-sa-token/kyverno-test.yaml b/other/res/restrict-automount-sa-token/.kyverno-test/kyverno-test.yaml similarity index 95% rename from other/res/restrict-automount-sa-token/kyverno-test.yaml rename to other/res/restrict-automount-sa-token/.kyverno-test/kyverno-test.yaml index 73d5290e1..9216f76a8 100644 --- a/other/res/restrict-automount-sa-token/kyverno-test.yaml +++ b/other/res/restrict-automount-sa-token/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-automount-sa-token policies: -- restrict-automount-sa-token.yaml +- ../restrict-automount-sa-token.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-automount-sa-token/resource.yaml b/other/res/restrict-automount-sa-token/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-automount-sa-token/resource.yaml rename to other/res/restrict-automount-sa-token/.kyverno-test/resource.yaml diff --git a/other/res/restrict-controlplane-scheduling/kyverno-test.yaml b/other/res/restrict-controlplane-scheduling/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/res/restrict-controlplane-scheduling/kyverno-test.yaml rename to other/res/restrict-controlplane-scheduling/.kyverno-test/kyverno-test.yaml index 9584ef189..d6234a504 100644 --- a/other/res/restrict-controlplane-scheduling/kyverno-test.yaml +++ b/other/res/restrict-controlplane-scheduling/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-controlplane-scheduling policies: -- restrict-controlplane-scheduling.yaml +- ../restrict-controlplane-scheduling.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-controlplane-scheduling/resource.yaml b/other/res/restrict-controlplane-scheduling/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-controlplane-scheduling/resource.yaml rename to other/res/restrict-controlplane-scheduling/.kyverno-test/resource.yaml diff --git a/other/res/restrict-deprecated-registry/kyverno-test.yaml b/other/res/restrict-deprecated-registry/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/res/restrict-deprecated-registry/kyverno-test.yaml rename to other/res/restrict-deprecated-registry/.kyverno-test/kyverno-test.yaml index f55b98da5..9af5b4453 100644 --- a/other/res/restrict-deprecated-registry/kyverno-test.yaml +++ b/other/res/restrict-deprecated-registry/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-deprecated-registry policies: -- restrict-deprecated-registry.yaml +- ../restrict-deprecated-registry.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-deprecated-registry/resource.yaml b/other/res/restrict-deprecated-registry/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-deprecated-registry/resource.yaml rename to other/res/restrict-deprecated-registry/.kyverno-test/resource.yaml diff --git a/other/res/restrict-escalation-verbs-roles/kyverno-test.yaml b/other/res/restrict-escalation-verbs-roles/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/res/restrict-escalation-verbs-roles/kyverno-test.yaml rename to other/res/restrict-escalation-verbs-roles/.kyverno-test/kyverno-test.yaml index d9be88b21..2ae1f05af 100644 --- a/other/res/restrict-escalation-verbs-roles/kyverno-test.yaml +++ b/other/res/restrict-escalation-verbs-roles/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-escalation-verbs-roles policies: -- restrict-escalation-verbs-roles.yaml +- ../restrict-escalation-verbs-roles.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-escalation-verbs-roles/resource.yaml b/other/res/restrict-escalation-verbs-roles/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-escalation-verbs-roles/resource.yaml rename to other/res/restrict-escalation-verbs-roles/.kyverno-test/resource.yaml diff --git a/other/res/restrict-ingress-classes/kyverno-test.yaml b/other/res/restrict-ingress-classes/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/res/restrict-ingress-classes/kyverno-test.yaml rename to other/res/restrict-ingress-classes/.kyverno-test/kyverno-test.yaml index 882e40d88..de10dd4d4 100644 --- a/other/res/restrict-ingress-classes/kyverno-test.yaml +++ b/other/res/restrict-ingress-classes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-ingress-classes policies: -- restrict-ingress-classes.yaml +- ../restrict-ingress-classes.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-ingress-classes/resource.yaml b/other/res/restrict-ingress-classes/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-ingress-classes/resource.yaml rename to other/res/restrict-ingress-classes/.kyverno-test/resource.yaml diff --git a/other/res/restrict-ingress-defaultbackend/kyverno-test.yaml b/other/res/restrict-ingress-defaultbackend/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/res/restrict-ingress-defaultbackend/kyverno-test.yaml rename to other/res/restrict-ingress-defaultbackend/.kyverno-test/kyverno-test.yaml index 03c1dcafd..ef5bdeb5a 100644 --- a/other/res/restrict-ingress-defaultbackend/kyverno-test.yaml +++ b/other/res/restrict-ingress-defaultbackend/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-node-defaultbackend policies: -- restrict-ingress-defaultbackend.yaml +- ../restrict-ingress-defaultbackend.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-ingress-defaultbackend/resource.yaml b/other/res/restrict-ingress-defaultbackend/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-ingress-defaultbackend/resource.yaml rename to other/res/restrict-ingress-defaultbackend/.kyverno-test/resource.yaml diff --git a/other/res/restrict-ingress-host/kyverno-test.yaml b/other/res/restrict-ingress-host/.kyverno-test/kyverno-test.yaml similarity index 95% rename from other/res/restrict-ingress-host/kyverno-test.yaml rename to other/res/restrict-ingress-host/.kyverno-test/kyverno-test.yaml index 9660ec028..072d70c96 100644 --- a/other/res/restrict-ingress-host/kyverno-test.yaml +++ b/other/res/restrict-ingress-host/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: unique-ingress-host policies: -- restrict-ingress-host.yaml +- ../restrict-ingress-host.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-ingress-host/resource.yaml b/other/res/restrict-ingress-host/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-ingress-host/resource.yaml rename to other/res/restrict-ingress-host/.kyverno-test/resource.yaml diff --git a/other/res/restrict-ingress-host/values.yaml b/other/res/restrict-ingress-host/.kyverno-test/values.yaml similarity index 100% rename from other/res/restrict-ingress-host/values.yaml rename to other/res/restrict-ingress-host/.kyverno-test/values.yaml diff --git a/other/res/restrict-ingress-wildcard/kyverno-test.yaml b/other/res/restrict-ingress-wildcard/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/res/restrict-ingress-wildcard/kyverno-test.yaml rename to other/res/restrict-ingress-wildcard/.kyverno-test/kyverno-test.yaml index 07c57e046..798f12734 100644 --- a/other/res/restrict-ingress-wildcard/kyverno-test.yaml +++ b/other/res/restrict-ingress-wildcard/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-ingress-wildcard policies: -- restrict-ingress-wildcard.yaml +- ../restrict-ingress-wildcard.yaml resources: - resources.yaml results: diff --git a/other/res/restrict-ingress-wildcard/resources.yaml b/other/res/restrict-ingress-wildcard/.kyverno-test/resources.yaml similarity index 100% rename from other/res/restrict-ingress-wildcard/resources.yaml rename to other/res/restrict-ingress-wildcard/.kyverno-test/resources.yaml diff --git a/other/res/restrict-loadbalancer/kyverno-test.yaml b/other/res/restrict-loadbalancer/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/res/restrict-loadbalancer/kyverno-test.yaml rename to other/res/restrict-loadbalancer/.kyverno-test/kyverno-test.yaml index 13a7ea63f..029735868 100644 --- a/other/res/restrict-loadbalancer/kyverno-test.yaml +++ b/other/res/restrict-loadbalancer/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: no-loadbalancer-service policies: -- restrict-loadbalancer.yaml +- ../restrict-loadbalancer.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-loadbalancer/resource.yaml b/other/res/restrict-loadbalancer/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-loadbalancer/resource.yaml rename to other/res/restrict-loadbalancer/.kyverno-test/resource.yaml diff --git a/other/res/restrict-networkpolicy-empty-podselector/kyverno-test.yaml b/other/res/restrict-networkpolicy-empty-podselector/.kyverno-test/kyverno-test.yaml similarity index 89% rename from other/res/restrict-networkpolicy-empty-podselector/kyverno-test.yaml rename to other/res/restrict-networkpolicy-empty-podselector/.kyverno-test/kyverno-test.yaml index 8f2d517f1..8a233d89d 100644 --- a/other/res/restrict-networkpolicy-empty-podselector/kyverno-test.yaml +++ b/other/res/restrict-networkpolicy-empty-podselector/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-networkpolicy-empty-podselector policies: -- restrict-networkpolicy-empty-podselector.yaml +- ../restrict-networkpolicy-empty-podselector.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-networkpolicy-empty-podselector/resource.yaml b/other/res/restrict-networkpolicy-empty-podselector/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-networkpolicy-empty-podselector/resource.yaml rename to other/res/restrict-networkpolicy-empty-podselector/.kyverno-test/resource.yaml diff --git a/other/res/restrict-node-affinity/kyverno-test.yaml b/other/res/restrict-node-affinity/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/res/restrict-node-affinity/kyverno-test.yaml rename to other/res/restrict-node-affinity/.kyverno-test/kyverno-test.yaml index 336a9535d..e806a34d2 100644 --- a/other/res/restrict-node-affinity/kyverno-test.yaml +++ b/other/res/restrict-node-affinity/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-node-affinity policies: -- restrict-node-affinity.yaml +- ../restrict-node-affinity.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-node-affinity/resource.yaml b/other/res/restrict-node-affinity/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-node-affinity/resource.yaml rename to other/res/restrict-node-affinity/.kyverno-test/resource.yaml diff --git a/other/res/restrict-node-selection/kyverno-test.yaml b/other/res/restrict-node-selection/.kyverno-test/kyverno-test.yaml similarity index 94% rename from other/res/restrict-node-selection/kyverno-test.yaml rename to other/res/restrict-node-selection/.kyverno-test/kyverno-test.yaml index 089014b65..4da8e0a12 100644 --- a/other/res/restrict-node-selection/kyverno-test.yaml +++ b/other/res/restrict-node-selection/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-node-selection policies: -- restrict-node-selection.yaml +- ../restrict-node-selection.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-node-selection/resource.yaml b/other/res/restrict-node-selection/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-node-selection/resource.yaml rename to other/res/restrict-node-selection/.kyverno-test/resource.yaml diff --git a/other/res/restrict-pod-count-per-node/kyverno-test.yaml b/other/res/restrict-pod-count-per-node/.kyverno-test/kyverno-test.yaml similarity index 87% rename from other/res/restrict-pod-count-per-node/kyverno-test.yaml rename to other/res/restrict-pod-count-per-node/.kyverno-test/kyverno-test.yaml index 69312b9d6..650401dd9 100644 --- a/other/res/restrict-pod-count-per-node/kyverno-test.yaml +++ b/other/res/restrict-pod-count-per-node/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-pod-count policies: -- restrict-pod-count-per-node.yaml +- ../restrict-pod-count-per-node.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-pod-count-per-node/resource.yaml b/other/res/restrict-pod-count-per-node/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-pod-count-per-node/resource.yaml rename to other/res/restrict-pod-count-per-node/.kyverno-test/resource.yaml diff --git a/other/res/restrict-pod-count-per-node/values.yaml b/other/res/restrict-pod-count-per-node/.kyverno-test/values.yaml similarity index 100% rename from other/res/restrict-pod-count-per-node/values.yaml rename to other/res/restrict-pod-count-per-node/.kyverno-test/values.yaml diff --git a/other/res/restrict-secrets-by-label/kyverno-test.yaml b/other/res/restrict-secrets-by-label/.kyverno-test/kyverno-test.yaml similarity index 96% rename from other/res/restrict-secrets-by-label/kyverno-test.yaml rename to other/res/restrict-secrets-by-label/.kyverno-test/kyverno-test.yaml index d438456eb..1921a000d 100644 --- a/other/res/restrict-secrets-by-label/kyverno-test.yaml +++ b/other/res/restrict-secrets-by-label/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-secrets-by-label policies: -- restrict-secrets-by-label.yaml +- ../restrict-secrets-by-label.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-secrets-by-label/resource.yaml b/other/res/restrict-secrets-by-label/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-secrets-by-label/resource.yaml rename to other/res/restrict-secrets-by-label/.kyverno-test/resource.yaml diff --git a/other/res/restrict-secrets-by-label/values.yaml b/other/res/restrict-secrets-by-label/.kyverno-test/values.yaml similarity index 100% rename from other/res/restrict-secrets-by-label/values.yaml rename to other/res/restrict-secrets-by-label/.kyverno-test/values.yaml diff --git a/other/res/restrict-secrets-by-name/kyverno-test.yaml b/other/res/restrict-secrets-by-name/.kyverno-test/kyverno-test.yaml similarity index 97% rename from other/res/restrict-secrets-by-name/kyverno-test.yaml rename to other/res/restrict-secrets-by-name/.kyverno-test/kyverno-test.yaml index 8908cc679..604bcf715 100644 --- a/other/res/restrict-secrets-by-name/kyverno-test.yaml +++ b/other/res/restrict-secrets-by-name/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: test-secrets-policy policies: -- restrict-secrets-by-name.yaml +- ../restrict-secrets-by-name.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-secrets-by-name/resource.yaml b/other/res/restrict-secrets-by-name/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-secrets-by-name/resource.yaml rename to other/res/restrict-secrets-by-name/.kyverno-test/resource.yaml diff --git a/other/res/restrict-service-account/kyverno-test.yaml b/other/res/restrict-service-account/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/res/restrict-service-account/kyverno-test.yaml rename to other/res/restrict-service-account/.kyverno-test/kyverno-test.yaml index edd5ba199..0c8f458db 100644 --- a/other/res/restrict-service-account/kyverno-test.yaml +++ b/other/res/restrict-service-account/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-service-account policies: -- restrict-service-account.yaml +- ../restrict-service-account.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-service-account/resource.yaml b/other/res/restrict-service-account/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-service-account/resource.yaml rename to other/res/restrict-service-account/.kyverno-test/resource.yaml diff --git a/other/res/restrict-service-account/values.yaml b/other/res/restrict-service-account/.kyverno-test/values.yaml similarity index 100% rename from other/res/restrict-service-account/values.yaml rename to other/res/restrict-service-account/.kyverno-test/values.yaml diff --git a/other/res/restrict-service-port-range/kyverno-test.yaml b/other/res/restrict-service-port-range/.kyverno-test/kyverno-test.yaml similarity index 91% rename from other/res/restrict-service-port-range/kyverno-test.yaml rename to other/res/restrict-service-port-range/.kyverno-test/kyverno-test.yaml index bfe1f181d..12d410bcd 100644 --- a/other/res/restrict-service-port-range/kyverno-test.yaml +++ b/other/res/restrict-service-port-range/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-service-port-range policies: -- restrict-service-port-range.yaml +- ../restrict-service-port-range.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-service-port-range/resource.yaml b/other/res/restrict-service-port-range/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-service-port-range/resource.yaml rename to other/res/restrict-service-port-range/.kyverno-test/resource.yaml diff --git a/other/res/restrict-storageclass/kyverno-test.yaml b/other/res/restrict-storageclass/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/res/restrict-storageclass/kyverno-test.yaml rename to other/res/restrict-storageclass/.kyverno-test/kyverno-test.yaml index 3646003c4..424718b6d 100644 --- a/other/res/restrict-storageclass/kyverno-test.yaml +++ b/other/res/restrict-storageclass/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-storageclass policies: -- restrict-storageclass.yaml +- ../restrict-storageclass.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-storageclass/resource.yaml b/other/res/restrict-storageclass/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-storageclass/resource.yaml rename to other/res/restrict-storageclass/.kyverno-test/resource.yaml diff --git a/other/res/restrict-usergroup-fsgroup-id/kyverno-test.yaml b/other/res/restrict-usergroup-fsgroup-id/.kyverno-test/kyverno-test.yaml similarity index 92% rename from other/res/restrict-usergroup-fsgroup-id/kyverno-test.yaml rename to other/res/restrict-usergroup-fsgroup-id/.kyverno-test/kyverno-test.yaml index a00641459..20704827f 100644 --- a/other/res/restrict-usergroup-fsgroup-id/kyverno-test.yaml +++ b/other/res/restrict-usergroup-fsgroup-id/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: validate-userid-groupid-fsgroup policies: -- restrict-usergroup-fsgroup-id.yaml +- ../restrict-usergroup-fsgroup-id.yaml resources: - resource.yaml results: diff --git a/other/res/restrict-usergroup-fsgroup-id/resource.yaml b/other/res/restrict-usergroup-fsgroup-id/.kyverno-test/resource.yaml similarity index 100% rename from other/res/restrict-usergroup-fsgroup-id/resource.yaml rename to other/res/restrict-usergroup-fsgroup-id/.kyverno-test/resource.yaml diff --git a/other/s-z/spread-pods-across-topology/kyverno-test.yaml b/other/s-z/spread-pods-across-topology/.kyverno-test/kyverno-test.yaml similarity index 87% rename from other/s-z/spread-pods-across-topology/kyverno-test.yaml rename to other/s-z/spread-pods-across-topology/.kyverno-test/kyverno-test.yaml index 94b3278e7..82c447fd6 100644 --- a/other/s-z/spread-pods-across-topology/kyverno-test.yaml +++ b/other/s-z/spread-pods-across-topology/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: spread-pods policies: -- spread-pods-across-topology.yaml +- ../spread-pods-across-topology.yaml resources: - resource.yaml results: diff --git a/other/s-z/spread-pods-across-topology/patchedResource.yaml b/other/s-z/spread-pods-across-topology/.kyverno-test/patchedResource.yaml similarity index 100% rename from other/s-z/spread-pods-across-topology/patchedResource.yaml rename to other/s-z/spread-pods-across-topology/.kyverno-test/patchedResource.yaml diff --git a/other/s-z/spread-pods-across-topology/resource.yaml b/other/s-z/spread-pods-across-topology/.kyverno-test/resource.yaml similarity index 100% rename from other/s-z/spread-pods-across-topology/resource.yaml rename to other/s-z/spread-pods-across-topology/.kyverno-test/resource.yaml diff --git a/other/s-z/topologyspreadconstraints-policy/kyverno-test.yaml b/other/s-z/topologyspreadconstraints-policy/.kyverno-test/kyverno-test.yaml similarity index 93% rename from other/s-z/topologyspreadconstraints-policy/kyverno-test.yaml rename to other/s-z/topologyspreadconstraints-policy/.kyverno-test/kyverno-test.yaml index c663237d2..e5d9efa7e 100644 --- a/other/s-z/topologyspreadconstraints-policy/kyverno-test.yaml +++ b/other/s-z/topologyspreadconstraints-policy/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: topologyspreadconstraints policies: -- topologyspreadconstraints-policy.yaml +- ../topologyspreadconstraints-policy.yaml resources: - resource-fail1.yaml - resource-fail2.yaml diff --git a/other/s-z/topologyspreadconstraints-policy/resource-fail1.yaml b/other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-fail1.yaml similarity index 100% rename from other/s-z/topologyspreadconstraints-policy/resource-fail1.yaml rename to other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-fail1.yaml diff --git a/other/s-z/topologyspreadconstraints-policy/resource-fail2.yaml b/other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-fail2.yaml similarity index 100% rename from other/s-z/topologyspreadconstraints-policy/resource-fail2.yaml rename to other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-fail2.yaml diff --git a/other/s-z/topologyspreadconstraints-policy/resource-fail3.yaml b/other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-fail3.yaml similarity index 100% rename from other/s-z/topologyspreadconstraints-policy/resource-fail3.yaml rename to other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-fail3.yaml diff --git a/other/s-z/topologyspreadconstraints-policy/resource-pass.yaml b/other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-pass.yaml similarity index 100% rename from other/s-z/topologyspreadconstraints-policy/resource-pass.yaml rename to other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-pass.yaml diff --git a/other/s-z/topologyspreadconstraints-policy/resource-skip.yaml b/other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-skip.yaml similarity index 100% rename from other/s-z/topologyspreadconstraints-policy/resource-skip.yaml rename to other/s-z/topologyspreadconstraints-policy/.kyverno-test/resource-skip.yaml diff --git a/pod-security-cel/baseline/disallow-capabilities/kyverno-test.yaml b/pod-security-cel/baseline/disallow-capabilities/.kyverno-test/kyverno-test.yaml similarity index 92% rename from pod-security-cel/baseline/disallow-capabilities/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-capabilities/.kyverno-test/kyverno-test.yaml index 260055315..8baf87795 100644 --- a/pod-security-cel/baseline/disallow-capabilities/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-capabilities/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-capabilities policies: -- disallow-capabilities.yaml +- ../disallow-capabilities.yaml resources: -- ../../../pod-security/baseline/disallow-capabilities/resource.yaml +- ../../../../pod-security/baseline/disallow-capabilities/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-capabilities diff --git a/pod-security-cel/baseline/disallow-host-namespaces/kyverno-test.yaml b/pod-security-cel/baseline/disallow-host-namespaces/.kyverno-test/kyverno-test.yaml similarity index 90% rename from pod-security-cel/baseline/disallow-host-namespaces/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-host-namespaces/.kyverno-test/kyverno-test.yaml index 70b051ed8..a8c7c4b39 100644 --- a/pod-security-cel/baseline/disallow-host-namespaces/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-host-namespaces/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-host-namespaces policies: -- disallow-host-namespaces.yaml +- ../disallow-host-namespaces.yaml resources: -- ../../../pod-security/baseline/disallow-host-namespaces/resource.yaml +- ../../../../pod-security/baseline/disallow-host-namespaces/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-host-namespaces diff --git a/pod-security-cel/baseline/disallow-host-path/kyverno-test.yaml b/pod-security-cel/baseline/disallow-host-path/.kyverno-test/kyverno-test.yaml similarity index 88% rename from pod-security-cel/baseline/disallow-host-path/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-host-path/.kyverno-test/kyverno-test.yaml index d89a58b21..b0d463ba2 100644 --- a/pod-security-cel/baseline/disallow-host-path/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-host-path/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-host-path policies: -- disallow-host-path.yaml +- ../disallow-host-path.yaml resources: -- ../../../pod-security/baseline/disallow-host-path/resource.yaml +- ../../../../pod-security/baseline/disallow-host-path/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-host-path diff --git a/pod-security-cel/baseline/disallow-host-ports-range/kyverno-test.yaml b/pod-security-cel/baseline/disallow-host-ports-range/.kyverno-test/kyverno-test.yaml similarity index 93% rename from pod-security-cel/baseline/disallow-host-ports-range/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-host-ports-range/.kyverno-test/kyverno-test.yaml index 69adc43b2..44bd3ad37 100644 --- a/pod-security-cel/baseline/disallow-host-ports-range/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-host-ports-range/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-host-ports-range policies: -- disallow-host-ports-range.yaml +- ../disallow-host-ports-range.yaml resources: -- ../../../pod-security/baseline/disallow-host-ports-range/resource.yaml +- ../../../../pod-security/baseline/disallow-host-ports-range/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-host-ports-range diff --git a/pod-security-cel/baseline/disallow-host-ports/kyverno-test.yaml b/pod-security-cel/baseline/disallow-host-ports/.kyverno-test/kyverno-test.yaml similarity index 93% rename from pod-security-cel/baseline/disallow-host-ports/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-host-ports/.kyverno-test/kyverno-test.yaml index bea1e7b28..ec292ca5c 100644 --- a/pod-security-cel/baseline/disallow-host-ports/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-host-ports/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-host-ports policies: -- disallow-host-ports.yaml +- ../disallow-host-ports.yaml resources: -- ../../../pod-security/baseline/disallow-host-ports/resource.yaml +- ../../../../pod-security/baseline/disallow-host-ports/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-host-ports diff --git a/pod-security-cel/baseline/disallow-host-process/kyverno-test.yaml b/pod-security-cel/baseline/disallow-host-process/.kyverno-test/kyverno-test.yaml similarity index 91% rename from pod-security-cel/baseline/disallow-host-process/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-host-process/.kyverno-test/kyverno-test.yaml index 9b5286cb1..b52cf2243 100644 --- a/pod-security-cel/baseline/disallow-host-process/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-host-process/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-host-process policies: -- disallow-host-process.yaml +- ../disallow-host-process.yaml resources: -- ../../../pod-security/baseline/disallow-host-process/resource.yaml +- ../../../../pod-security/baseline/disallow-host-process/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-host-process diff --git a/pod-security-cel/baseline/disallow-privileged-containers/kyverno-test.yaml b/pod-security-cel/baseline/disallow-privileged-containers/.kyverno-test/kyverno-test.yaml similarity index 91% rename from pod-security-cel/baseline/disallow-privileged-containers/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-privileged-containers/.kyverno-test/kyverno-test.yaml index ae3b06998..3203b14b1 100644 --- a/pod-security-cel/baseline/disallow-privileged-containers/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-privileged-containers/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-privileged-containers policies: -- disallow-privileged-containers.yaml +- ../disallow-privileged-containers.yaml resources: -- ../../../pod-security/baseline/disallow-privileged-containers/resource.yaml +- ../../../../pod-security/baseline/disallow-privileged-containers/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-privileged-containers diff --git a/pod-security-cel/baseline/disallow-proc-mount/kyverno-test.yaml b/pod-security-cel/baseline/disallow-proc-mount/.kyverno-test/kyverno-test.yaml similarity index 91% rename from pod-security-cel/baseline/disallow-proc-mount/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-proc-mount/.kyverno-test/kyverno-test.yaml index a62e91ec6..09f8c605c 100644 --- a/pod-security-cel/baseline/disallow-proc-mount/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-proc-mount/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-proc-mount policies: -- disallow-proc-mount.yaml +- ../disallow-proc-mount.yaml resources: -- ../../../pod-security/baseline/disallow-proc-mount/resource.yaml +- ../../../../pod-security/baseline/disallow-proc-mount/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-proc-mount diff --git a/pod-security-cel/baseline/disallow-selinux/kyverno-test.yaml b/pod-security-cel/baseline/disallow-selinux/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security-cel/baseline/disallow-selinux/kyverno-test.yaml rename to pod-security-cel/baseline/disallow-selinux/.kyverno-test/kyverno-test.yaml index d9475f88b..6ed737cbb 100644 --- a/pod-security-cel/baseline/disallow-selinux/kyverno-test.yaml +++ b/pod-security-cel/baseline/disallow-selinux/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: disallow-selinux policies: -- disallow-selinux.yaml +- ../disallow-selinux.yaml resources: -- ../../../pod-security/baseline/disallow-selinux/resource.yaml +- ../../../../pod-security/baseline/disallow-selinux/.kyverno-test/resource.yaml results: - kind: CronJob policy: disallow-selinux diff --git a/pod-security-cel/baseline/restrict-seccomp/kyverno-test.yaml b/pod-security-cel/baseline/restrict-seccomp/.kyverno-test/kyverno-test.yaml similarity index 93% rename from pod-security-cel/baseline/restrict-seccomp/kyverno-test.yaml rename to pod-security-cel/baseline/restrict-seccomp/.kyverno-test/kyverno-test.yaml index a53bf0a66..7717a0c8d 100644 --- a/pod-security-cel/baseline/restrict-seccomp/kyverno-test.yaml +++ b/pod-security-cel/baseline/restrict-seccomp/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: restrict-seccomp policies: -- restrict-seccomp.yaml +- ../restrict-seccomp.yaml resources: -- ../../../pod-security/baseline/restrict-seccomp/resource.yaml +- ../../../../pod-security/baseline/restrict-seccomp/.kyverno-test/resource.yaml results: - kind: CronJob policy: restrict-seccomp diff --git a/pod-security-cel/baseline/restrict-sysctls/kyverno-test.yaml b/pod-security-cel/baseline/restrict-sysctls/.kyverno-test/kyverno-test.yaml similarity index 91% rename from pod-security-cel/baseline/restrict-sysctls/kyverno-test.yaml rename to pod-security-cel/baseline/restrict-sysctls/.kyverno-test/kyverno-test.yaml index 18065bc5d..b1b0b1128 100644 --- a/pod-security-cel/baseline/restrict-sysctls/kyverno-test.yaml +++ b/pod-security-cel/baseline/restrict-sysctls/.kyverno-test/kyverno-test.yaml @@ -3,9 +3,9 @@ kind: Test metadata: name: restrict-sysctls policies: -- restrict-sysctls.yaml +- ../restrict-sysctls.yaml resources: -- ../../../pod-security/baseline/restrict-sysctls/resource.yaml +- ../../../../pod-security/baseline/restrict-sysctls/.kyverno-test/resource.yaml results: - kind: CronJob policy: restrict-sysctls diff --git a/pod-security/baseline/disallow-capabilities/kyverno-test.yaml b/pod-security/baseline/disallow-capabilities/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/baseline/disallow-capabilities/kyverno-test.yaml rename to pod-security/baseline/disallow-capabilities/.kyverno-test/kyverno-test.yaml index b6f20e19a..9f5a9450b 100644 --- a/pod-security/baseline/disallow-capabilities/kyverno-test.yaml +++ b/pod-security/baseline/disallow-capabilities/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-capabilities policies: -- disallow-capabilities.yaml +- ../disallow-capabilities.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-capabilities/resource.yaml b/pod-security/baseline/disallow-capabilities/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-capabilities/resource.yaml rename to pod-security/baseline/disallow-capabilities/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-host-namespaces/kyverno-test.yaml b/pod-security/baseline/disallow-host-namespaces/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/baseline/disallow-host-namespaces/kyverno-test.yaml rename to pod-security/baseline/disallow-host-namespaces/.kyverno-test/kyverno-test.yaml index 582fa7794..4e6facf71 100644 --- a/pod-security/baseline/disallow-host-namespaces/kyverno-test.yaml +++ b/pod-security/baseline/disallow-host-namespaces/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-host-namespaces policies: -- disallow-host-namespaces.yaml +- ../disallow-host-namespaces.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-host-namespaces/resource.yaml b/pod-security/baseline/disallow-host-namespaces/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-host-namespaces/resource.yaml rename to pod-security/baseline/disallow-host-namespaces/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-host-path/kyverno-test.yaml b/pod-security/baseline/disallow-host-path/.kyverno-test/kyverno-test.yaml similarity index 96% rename from pod-security/baseline/disallow-host-path/kyverno-test.yaml rename to pod-security/baseline/disallow-host-path/.kyverno-test/kyverno-test.yaml index f64ceba01..b91fdc650 100644 --- a/pod-security/baseline/disallow-host-path/kyverno-test.yaml +++ b/pod-security/baseline/disallow-host-path/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-host-path policies: -- disallow-host-path.yaml +- ../disallow-host-path.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-host-path/resource.yaml b/pod-security/baseline/disallow-host-path/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-host-path/resource.yaml rename to pod-security/baseline/disallow-host-path/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-host-ports-range/kyverno-test.yaml b/pod-security/baseline/disallow-host-ports-range/.kyverno-test/kyverno-test.yaml similarity index 98% rename from pod-security/baseline/disallow-host-ports-range/kyverno-test.yaml rename to pod-security/baseline/disallow-host-ports-range/.kyverno-test/kyverno-test.yaml index e9ef5fdf0..c1534ce87 100644 --- a/pod-security/baseline/disallow-host-ports-range/kyverno-test.yaml +++ b/pod-security/baseline/disallow-host-ports-range/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-host-ports-range policies: -- disallow-host-ports-range.yaml +- ../disallow-host-ports-range.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-host-ports-range/resource.yaml b/pod-security/baseline/disallow-host-ports-range/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-host-ports-range/resource.yaml rename to pod-security/baseline/disallow-host-ports-range/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-host-ports/kyverno-test.yaml b/pod-security/baseline/disallow-host-ports/.kyverno-test/kyverno-test.yaml similarity index 98% rename from pod-security/baseline/disallow-host-ports/kyverno-test.yaml rename to pod-security/baseline/disallow-host-ports/.kyverno-test/kyverno-test.yaml index 7a4d01264..25ea8232a 100644 --- a/pod-security/baseline/disallow-host-ports/kyverno-test.yaml +++ b/pod-security/baseline/disallow-host-ports/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-host-ports policies: -- disallow-host-ports.yaml +- ../disallow-host-ports.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-host-ports/resource.yaml b/pod-security/baseline/disallow-host-ports/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-host-ports/resource.yaml rename to pod-security/baseline/disallow-host-ports/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-host-process/kyverno-test.yaml b/pod-security/baseline/disallow-host-process/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/baseline/disallow-host-process/kyverno-test.yaml rename to pod-security/baseline/disallow-host-process/.kyverno-test/kyverno-test.yaml index 13bfd26a3..47164b2ab 100644 --- a/pod-security/baseline/disallow-host-process/kyverno-test.yaml +++ b/pod-security/baseline/disallow-host-process/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-host-process policies: -- disallow-host-process.yaml +- ../disallow-host-process.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-host-process/resource.yaml b/pod-security/baseline/disallow-host-process/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-host-process/resource.yaml rename to pod-security/baseline/disallow-host-process/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-privileged-containers/kyverno-test.yaml b/pod-security/baseline/disallow-privileged-containers/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/baseline/disallow-privileged-containers/kyverno-test.yaml rename to pod-security/baseline/disallow-privileged-containers/.kyverno-test/kyverno-test.yaml index 9d25762e5..6ba1b9283 100644 --- a/pod-security/baseline/disallow-privileged-containers/kyverno-test.yaml +++ b/pod-security/baseline/disallow-privileged-containers/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-privileged-containers policies: -- disallow-privileged-containers.yaml +- ../disallow-privileged-containers.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-privileged-containers/resource.yaml b/pod-security/baseline/disallow-privileged-containers/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-privileged-containers/resource.yaml rename to pod-security/baseline/disallow-privileged-containers/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-proc-mount/kyverno-test.yaml b/pod-security/baseline/disallow-proc-mount/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/baseline/disallow-proc-mount/kyverno-test.yaml rename to pod-security/baseline/disallow-proc-mount/.kyverno-test/kyverno-test.yaml index 8b4e80d33..409c27405 100644 --- a/pod-security/baseline/disallow-proc-mount/kyverno-test.yaml +++ b/pod-security/baseline/disallow-proc-mount/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-proc-mount policies: -- disallow-proc-mount.yaml +- ../disallow-proc-mount.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-proc-mount/resource.yaml b/pod-security/baseline/disallow-proc-mount/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-proc-mount/resource.yaml rename to pod-security/baseline/disallow-proc-mount/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/disallow-selinux/kyverno-test.yaml b/pod-security/baseline/disallow-selinux/.kyverno-test/kyverno-test.yaml similarity index 99% rename from pod-security/baseline/disallow-selinux/kyverno-test.yaml rename to pod-security/baseline/disallow-selinux/.kyverno-test/kyverno-test.yaml index 83736fd47..0150dcb7f 100644 --- a/pod-security/baseline/disallow-selinux/kyverno-test.yaml +++ b/pod-security/baseline/disallow-selinux/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-selinux policies: -- disallow-selinux.yaml +- ../disallow-selinux.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/disallow-selinux/resource.yaml b/pod-security/baseline/disallow-selinux/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/disallow-selinux/resource.yaml rename to pod-security/baseline/disallow-selinux/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/restrict-apparmor-profiles/kyverno-test.yaml b/pod-security/baseline/restrict-apparmor-profiles/.kyverno-test/kyverno-test.yaml similarity index 96% rename from pod-security/baseline/restrict-apparmor-profiles/kyverno-test.yaml rename to pod-security/baseline/restrict-apparmor-profiles/.kyverno-test/kyverno-test.yaml index ea2ade84d..3285147a6 100644 --- a/pod-security/baseline/restrict-apparmor-profiles/kyverno-test.yaml +++ b/pod-security/baseline/restrict-apparmor-profiles/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-apparmor-profiles policies: -- restrict-apparmor-profiles.yaml +- ../restrict-apparmor-profiles.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/restrict-apparmor-profiles/resource.yaml b/pod-security/baseline/restrict-apparmor-profiles/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/restrict-apparmor-profiles/resource.yaml rename to pod-security/baseline/restrict-apparmor-profiles/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/restrict-seccomp/kyverno-test.yaml b/pod-security/baseline/restrict-seccomp/.kyverno-test/kyverno-test.yaml similarity index 98% rename from pod-security/baseline/restrict-seccomp/kyverno-test.yaml rename to pod-security/baseline/restrict-seccomp/.kyverno-test/kyverno-test.yaml index 249cd9657..06ecb16c6 100644 --- a/pod-security/baseline/restrict-seccomp/kyverno-test.yaml +++ b/pod-security/baseline/restrict-seccomp/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-seccomp policies: -- restrict-seccomp.yaml +- ../restrict-seccomp.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/restrict-seccomp/resource.yaml b/pod-security/baseline/restrict-seccomp/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/restrict-seccomp/resource.yaml rename to pod-security/baseline/restrict-seccomp/.kyverno-test/resource.yaml diff --git a/pod-security/baseline/restrict-sysctls/kyverno-test.yaml b/pod-security/baseline/restrict-sysctls/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/baseline/restrict-sysctls/kyverno-test.yaml rename to pod-security/baseline/restrict-sysctls/.kyverno-test/kyverno-test.yaml index 8878f9e89..4dbe06fe4 100644 --- a/pod-security/baseline/restrict-sysctls/kyverno-test.yaml +++ b/pod-security/baseline/restrict-sysctls/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-sysctls policies: -- restrict-sysctls.yaml +- ../restrict-sysctls.yaml resources: - resource.yaml results: diff --git a/pod-security/baseline/restrict-sysctls/resource.yaml b/pod-security/baseline/restrict-sysctls/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/baseline/restrict-sysctls/resource.yaml rename to pod-security/baseline/restrict-sysctls/.kyverno-test/resource.yaml diff --git a/pod-security/restricted/disallow-capabilities-strict/kyverno-test.yaml b/pod-security/restricted/disallow-capabilities-strict/.kyverno-test/kyverno-test.yaml similarity index 98% rename from pod-security/restricted/disallow-capabilities-strict/kyverno-test.yaml rename to pod-security/restricted/disallow-capabilities-strict/.kyverno-test/kyverno-test.yaml index b1d1875d0..fece5915d 100644 --- a/pod-security/restricted/disallow-capabilities-strict/kyverno-test.yaml +++ b/pod-security/restricted/disallow-capabilities-strict/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-capabilities-strict policies: -- disallow-capabilities-strict.yaml +- ../disallow-capabilities-strict.yaml resources: - resource.yaml results: diff --git a/pod-security/restricted/disallow-capabilities-strict/resource.yaml b/pod-security/restricted/disallow-capabilities-strict/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/restricted/disallow-capabilities-strict/resource.yaml rename to pod-security/restricted/disallow-capabilities-strict/.kyverno-test/resource.yaml diff --git a/pod-security/restricted/disallow-privilege-escalation/kyverno-test.yaml b/pod-security/restricted/disallow-privilege-escalation/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/restricted/disallow-privilege-escalation/kyverno-test.yaml rename to pod-security/restricted/disallow-privilege-escalation/.kyverno-test/kyverno-test.yaml index 2fb9df7dc..d978218b6 100644 --- a/pod-security/restricted/disallow-privilege-escalation/kyverno-test.yaml +++ b/pod-security/restricted/disallow-privilege-escalation/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-privilege-escalation policies: -- disallow-privilege-escalation.yaml +- ../disallow-privilege-escalation.yaml resources: - resource.yaml results: diff --git a/pod-security/restricted/disallow-privilege-escalation/resource.yaml b/pod-security/restricted/disallow-privilege-escalation/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/restricted/disallow-privilege-escalation/resource.yaml rename to pod-security/restricted/disallow-privilege-escalation/.kyverno-test/resource.yaml diff --git a/pod-security/restricted/require-run-as-non-root-user/kyverno-test.yaml b/pod-security/restricted/require-run-as-non-root-user/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/restricted/require-run-as-non-root-user/kyverno-test.yaml rename to pod-security/restricted/require-run-as-non-root-user/.kyverno-test/kyverno-test.yaml index 5746c5408..15403c6cf 100644 --- a/pod-security/restricted/require-run-as-non-root-user/kyverno-test.yaml +++ b/pod-security/restricted/require-run-as-non-root-user/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-run-as-non-root-user policies: -- require-run-as-non-root-user.yaml +- ../require-run-as-non-root-user.yaml resources: - resource.yaml results: diff --git a/pod-security/restricted/require-run-as-non-root-user/resource.yaml b/pod-security/restricted/require-run-as-non-root-user/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/restricted/require-run-as-non-root-user/resource.yaml rename to pod-security/restricted/require-run-as-non-root-user/.kyverno-test/resource.yaml diff --git a/pod-security/restricted/require-run-as-nonroot/kyverno-test.yaml b/pod-security/restricted/require-run-as-nonroot/.kyverno-test/kyverno-test.yaml similarity index 98% rename from pod-security/restricted/require-run-as-nonroot/kyverno-test.yaml rename to pod-security/restricted/require-run-as-nonroot/.kyverno-test/kyverno-test.yaml index af311187c..9ca3cf80f 100644 --- a/pod-security/restricted/require-run-as-nonroot/kyverno-test.yaml +++ b/pod-security/restricted/require-run-as-nonroot/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: require-run-as-nonroot policies: -- require-run-as-nonroot.yaml +- ../require-run-as-nonroot.yaml resources: - resource.yaml results: diff --git a/pod-security/restricted/require-run-as-nonroot/resource.yaml b/pod-security/restricted/require-run-as-nonroot/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/restricted/require-run-as-nonroot/resource.yaml rename to pod-security/restricted/require-run-as-nonroot/.kyverno-test/resource.yaml diff --git a/pod-security/restricted/restrict-seccomp-strict/kyverno-test.yaml b/pod-security/restricted/restrict-seccomp-strict/.kyverno-test/kyverno-test.yaml similarity index 97% rename from pod-security/restricted/restrict-seccomp-strict/kyverno-test.yaml rename to pod-security/restricted/restrict-seccomp-strict/.kyverno-test/kyverno-test.yaml index cba06fe08..a2ac6d6d3 100644 --- a/pod-security/restricted/restrict-seccomp-strict/kyverno-test.yaml +++ b/pod-security/restricted/restrict-seccomp-strict/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-seccomp-strict policies: -- restrict-seccomp-strict.yaml +- ../restrict-seccomp-strict.yaml resources: - resource.yaml results: diff --git a/pod-security/restricted/restrict-seccomp-strict/resource.yaml b/pod-security/restricted/restrict-seccomp-strict/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/restricted/restrict-seccomp-strict/resource.yaml rename to pod-security/restricted/restrict-seccomp-strict/.kyverno-test/resource.yaml diff --git a/pod-security/restricted/restrict-volume-types/kyverno-test.yaml b/pod-security/restricted/restrict-volume-types/.kyverno-test/kyverno-test.yaml similarity index 98% rename from pod-security/restricted/restrict-volume-types/kyverno-test.yaml rename to pod-security/restricted/restrict-volume-types/.kyverno-test/kyverno-test.yaml index 1580ddad2..887f2c0a6 100644 --- a/pod-security/restricted/restrict-volume-types/kyverno-test.yaml +++ b/pod-security/restricted/restrict-volume-types/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-volume-types policies: -- restrict-volume-types.yaml +- ../restrict-volume-types.yaml resources: - resource.yaml results: diff --git a/pod-security/restricted/restrict-volume-types/resource.yaml b/pod-security/restricted/restrict-volume-types/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/restricted/restrict-volume-types/resource.yaml rename to pod-security/restricted/restrict-volume-types/.kyverno-test/resource.yaml diff --git a/pod-security/subrule/podsecurity-subrule-baseline/kyverno-test.yaml b/pod-security/subrule/podsecurity-subrule-baseline/.kyverno-test/kyverno-test.yaml similarity index 90% rename from pod-security/subrule/podsecurity-subrule-baseline/kyverno-test.yaml rename to pod-security/subrule/podsecurity-subrule-baseline/.kyverno-test/kyverno-test.yaml index 9aaab4e14..e287f3580 100644 --- a/pod-security/subrule/podsecurity-subrule-baseline/kyverno-test.yaml +++ b/pod-security/subrule/podsecurity-subrule-baseline/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: podsecurity-subrule-baseline policies: -- podsecurity-subrule-baseline.yaml +- ../podsecurity-subrule-baseline.yaml resources: - resource.yaml results: diff --git a/pod-security/subrule/podsecurity-subrule-baseline/resource.yaml b/pod-security/subrule/podsecurity-subrule-baseline/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/subrule/podsecurity-subrule-baseline/resource.yaml rename to pod-security/subrule/podsecurity-subrule-baseline/.kyverno-test/resource.yaml diff --git a/pod-security/subrule/restricted/restricted-exclude-capabilities/kyverno-test.yaml b/pod-security/subrule/restricted/restricted-exclude-capabilities/.kyverno-test/kyverno-test.yaml similarity index 91% rename from pod-security/subrule/restricted/restricted-exclude-capabilities/kyverno-test.yaml rename to pod-security/subrule/restricted/restricted-exclude-capabilities/.kyverno-test/kyverno-test.yaml index 2f9bc540a..49f7d8f8a 100644 --- a/pod-security/subrule/restricted/restricted-exclude-capabilities/kyverno-test.yaml +++ b/pod-security/subrule/restricted/restricted-exclude-capabilities/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: podsecurity-subrule-restricted-capabilities policies: -- restricted-exclude-capabilities.yaml +- ../restricted-exclude-capabilities.yaml resources: - resource.yaml results: diff --git a/pod-security/subrule/restricted/restricted-exclude-capabilities/resource.yaml b/pod-security/subrule/restricted/restricted-exclude-capabilities/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/subrule/restricted/restricted-exclude-capabilities/resource.yaml rename to pod-security/subrule/restricted/restricted-exclude-capabilities/.kyverno-test/resource.yaml diff --git a/pod-security/subrule/restricted/restricted-exclude-seccomp/kyverno-test.yaml b/pod-security/subrule/restricted/restricted-exclude-seccomp/.kyverno-test/kyverno-test.yaml similarity index 91% rename from pod-security/subrule/restricted/restricted-exclude-seccomp/kyverno-test.yaml rename to pod-security/subrule/restricted/restricted-exclude-seccomp/.kyverno-test/kyverno-test.yaml index 097e9146c..6b8f5a8c9 100644 --- a/pod-security/subrule/restricted/restricted-exclude-seccomp/kyverno-test.yaml +++ b/pod-security/subrule/restricted/restricted-exclude-seccomp/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: podsecurity-subrule-restricted-seccomp policies: -- restricted-exclude-seccomp.yaml +- ../restricted-exclude-seccomp.yaml resources: - resource.yaml results: diff --git a/pod-security/subrule/restricted/restricted-exclude-seccomp/resource.yaml b/pod-security/subrule/restricted/restricted-exclude-seccomp/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/subrule/restricted/restricted-exclude-seccomp/resource.yaml rename to pod-security/subrule/restricted/restricted-exclude-seccomp/.kyverno-test/resource.yaml diff --git a/pod-security/subrule/restricted/restricted-latest/kyverno-test.yaml b/pod-security/subrule/restricted/restricted-latest/.kyverno-test/kyverno-test.yaml similarity index 92% rename from pod-security/subrule/restricted/restricted-latest/kyverno-test.yaml rename to pod-security/subrule/restricted/restricted-latest/.kyverno-test/kyverno-test.yaml index 70041df7f..f8c517351 100644 --- a/pod-security/subrule/restricted/restricted-latest/kyverno-test.yaml +++ b/pod-security/subrule/restricted/restricted-latest/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restricted-latest policies: -- restricted-latest.yaml +- ../restricted-latest.yaml resources: - resource.yaml results: diff --git a/pod-security/subrule/restricted/restricted-latest/resource.yaml b/pod-security/subrule/restricted/restricted-latest/.kyverno-test/resource.yaml similarity index 100% rename from pod-security/subrule/restricted/restricted-latest/resource.yaml rename to pod-security/subrule/restricted/restricted-latest/.kyverno-test/resource.yaml diff --git a/psa/add-psa-labels/kyverno-test.yaml b/psa/add-psa-labels/.kyverno-test/kyverno-test.yaml similarity index 95% rename from psa/add-psa-labels/kyverno-test.yaml rename to psa/add-psa-labels/.kyverno-test/kyverno-test.yaml index ce0668ed0..d6869e884 100644 --- a/psa/add-psa-labels/kyverno-test.yaml +++ b/psa/add-psa-labels/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-psa-labels policies: -- add-psa-labels.yaml +- ../add-psa-labels.yaml resources: - resource.yaml - resourcefail.yaml diff --git a/psa/add-psa-labels/patchedResource.yaml b/psa/add-psa-labels/.kyverno-test/patchedResource.yaml similarity index 100% rename from psa/add-psa-labels/patchedResource.yaml rename to psa/add-psa-labels/.kyverno-test/patchedResource.yaml diff --git a/psa/add-psa-labels/patchedResourcefail.yaml b/psa/add-psa-labels/.kyverno-test/patchedResourcefail.yaml similarity index 100% rename from psa/add-psa-labels/patchedResourcefail.yaml rename to psa/add-psa-labels/.kyverno-test/patchedResourcefail.yaml diff --git a/psa/add-psa-labels/resource.yaml b/psa/add-psa-labels/.kyverno-test/resource.yaml similarity index 100% rename from psa/add-psa-labels/resource.yaml rename to psa/add-psa-labels/.kyverno-test/resource.yaml diff --git a/psa/add-psa-labels/resourcefail.yaml b/psa/add-psa-labels/.kyverno-test/resourcefail.yaml similarity index 100% rename from psa/add-psa-labels/resourcefail.yaml rename to psa/add-psa-labels/.kyverno-test/resourcefail.yaml diff --git a/psp-migration/add-apparmor/kyverno-test.yaml b/psp-migration/add-apparmor/.kyverno-test/kyverno-test.yaml similarity index 95% rename from psp-migration/add-apparmor/kyverno-test.yaml rename to psp-migration/add-apparmor/.kyverno-test/kyverno-test.yaml index 3bafcf968..90acb54a9 100644 --- a/psp-migration/add-apparmor/kyverno-test.yaml +++ b/psp-migration/add-apparmor/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-apparmor-annotations policies: -- add-apparmor.yaml +- ../add-apparmor.yaml resources: - resource.yaml results: diff --git a/psp-migration/add-apparmor/patchedResource1.yaml b/psp-migration/add-apparmor/.kyverno-test/patchedResource1.yaml similarity index 100% rename from psp-migration/add-apparmor/patchedResource1.yaml rename to psp-migration/add-apparmor/.kyverno-test/patchedResource1.yaml diff --git a/psp-migration/add-apparmor/patchedResource2.yaml b/psp-migration/add-apparmor/.kyverno-test/patchedResource2.yaml similarity index 100% rename from psp-migration/add-apparmor/patchedResource2.yaml rename to psp-migration/add-apparmor/.kyverno-test/patchedResource2.yaml diff --git a/psp-migration/add-apparmor/resource.yaml b/psp-migration/add-apparmor/.kyverno-test/resource.yaml similarity index 100% rename from psp-migration/add-apparmor/resource.yaml rename to psp-migration/add-apparmor/.kyverno-test/resource.yaml diff --git a/psp-migration/add-apparmor/03-resource.yaml b/psp-migration/add-apparmor/03-resource.yaml index 7e08de156..7f5ad41ad 100644 --- a/psp-migration/add-apparmor/03-resource.yaml +++ b/psp-migration/add-apparmor/03-resource.yaml @@ -1,6 +1,6 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml +- .kyverno-test/resource.yaml assert: - resource-mutated.yaml \ No newline at end of file diff --git a/psp-migration/add-capabilities/kyverno-test.yaml b/psp-migration/add-capabilities/.kyverno-test/kyverno-test.yaml similarity index 93% rename from psp-migration/add-capabilities/kyverno-test.yaml rename to psp-migration/add-capabilities/.kyverno-test/kyverno-test.yaml index f1b6f3dc8..e14c1cb65 100644 --- a/psp-migration/add-capabilities/kyverno-test.yaml +++ b/psp-migration/add-capabilities/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-capabilities policies: -- add-capabilities.yaml +- ../add-capabilities.yaml resources: - resource.yaml results: diff --git a/psp-migration/add-capabilities/patchedResource1.yaml b/psp-migration/add-capabilities/.kyverno-test/patchedResource1.yaml similarity index 100% rename from psp-migration/add-capabilities/patchedResource1.yaml rename to psp-migration/add-capabilities/.kyverno-test/patchedResource1.yaml diff --git a/psp-migration/add-capabilities/patchedResource2.yaml b/psp-migration/add-capabilities/.kyverno-test/patchedResource2.yaml similarity index 100% rename from psp-migration/add-capabilities/patchedResource2.yaml rename to psp-migration/add-capabilities/.kyverno-test/patchedResource2.yaml diff --git a/psp-migration/add-capabilities/resource.yaml b/psp-migration/add-capabilities/.kyverno-test/resource.yaml similarity index 100% rename from psp-migration/add-capabilities/resource.yaml rename to psp-migration/add-capabilities/.kyverno-test/resource.yaml diff --git a/psp-migration/add-capabilities/03-resource.yaml b/psp-migration/add-capabilities/03-resource.yaml index 7e08de156..7f5ad41ad 100644 --- a/psp-migration/add-capabilities/03-resource.yaml +++ b/psp-migration/add-capabilities/03-resource.yaml @@ -1,6 +1,6 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml +- .kyverno-test/resource.yaml assert: - resource-mutated.yaml \ No newline at end of file diff --git a/psp-migration/add-runtimeClassName/kyverno-test.yaml b/psp-migration/add-runtimeClassName/.kyverno-test/kyverno-test.yaml similarity index 89% rename from psp-migration/add-runtimeClassName/kyverno-test.yaml rename to psp-migration/add-runtimeClassName/.kyverno-test/kyverno-test.yaml index 83ec6578b..5d05a7aa5 100644 --- a/psp-migration/add-runtimeClassName/kyverno-test.yaml +++ b/psp-migration/add-runtimeClassName/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: add-runtimeClassName policies: -- add-runtimeClassName.yaml +- ../add-runtimeClassName.yaml resources: - resource.yaml results: diff --git a/psp-migration/add-runtimeClassName/patchedResource1.yaml b/psp-migration/add-runtimeClassName/.kyverno-test/patchedResource1.yaml similarity index 100% rename from psp-migration/add-runtimeClassName/patchedResource1.yaml rename to psp-migration/add-runtimeClassName/.kyverno-test/patchedResource1.yaml diff --git a/psp-migration/add-runtimeClassName/resource.yaml b/psp-migration/add-runtimeClassName/.kyverno-test/resource.yaml similarity index 100% rename from psp-migration/add-runtimeClassName/resource.yaml rename to psp-migration/add-runtimeClassName/.kyverno-test/resource.yaml diff --git a/psp-migration/add-runtimeClassName/03-resource.yaml b/psp-migration/add-runtimeClassName/03-resource.yaml index 8b10e3c83..d7add4c10 100644 --- a/psp-migration/add-runtimeClassName/03-resource.yaml +++ b/psp-migration/add-runtimeClassName/03-resource.yaml @@ -1,6 +1,6 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep apply: -- resource.yaml +- .kyverno-test/resource.yaml assert: -- patchedResource1.yaml \ No newline at end of file +- .kyverno-test/patchedResource1.yaml \ No newline at end of file diff --git a/psp-migration/check-supplemental-groups/kyverno-test.yaml b/psp-migration/check-supplemental-groups/.kyverno-test/kyverno-test.yaml similarity index 91% rename from psp-migration/check-supplemental-groups/kyverno-test.yaml rename to psp-migration/check-supplemental-groups/.kyverno-test/kyverno-test.yaml index bfae0b4de..35f4b1eb9 100644 --- a/psp-migration/check-supplemental-groups/kyverno-test.yaml +++ b/psp-migration/check-supplemental-groups/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: psp-check-supplemental-groups policies: -- check-supplemental-groups.yaml +- ../check-supplemental-groups.yaml resources: - resource.yaml results: diff --git a/psp-migration/check-supplemental-groups/resource.yaml b/psp-migration/check-supplemental-groups/.kyverno-test/resource.yaml similarity index 100% rename from psp-migration/check-supplemental-groups/resource.yaml rename to psp-migration/check-supplemental-groups/.kyverno-test/resource.yaml diff --git a/psp-migration/restrict-adding-capabilities/kyverno-test.yaml b/psp-migration/restrict-adding-capabilities/.kyverno-test/kyverno-test.yaml similarity index 95% rename from psp-migration/restrict-adding-capabilities/kyverno-test.yaml rename to psp-migration/restrict-adding-capabilities/.kyverno-test/kyverno-test.yaml index f1e176861..4c94d8b92 100644 --- a/psp-migration/restrict-adding-capabilities/kyverno-test.yaml +++ b/psp-migration/restrict-adding-capabilities/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: psp-restrict-adding-capabilities policies: -- restrict-adding-capabilities.yaml +- ../restrict-adding-capabilities.yaml resources: - resource.yaml results: diff --git a/psp-migration/restrict-adding-capabilities/resource.yaml b/psp-migration/restrict-adding-capabilities/.kyverno-test/resource.yaml similarity index 100% rename from psp-migration/restrict-adding-capabilities/resource.yaml rename to psp-migration/restrict-adding-capabilities/.kyverno-test/resource.yaml diff --git a/psp-migration/restrict-runtimeClassName/kyverno-test.yaml b/psp-migration/restrict-runtimeClassName/.kyverno-test/kyverno-test.yaml similarity index 91% rename from psp-migration/restrict-runtimeClassName/kyverno-test.yaml rename to psp-migration/restrict-runtimeClassName/.kyverno-test/kyverno-test.yaml index f5beb1ac1..faa23c777 100644 --- a/psp-migration/restrict-runtimeClassName/kyverno-test.yaml +++ b/psp-migration/restrict-runtimeClassName/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: restrict-runtimeclass policies: -- restrict-runtimeClassName.yaml +- ../restrict-runtimeClassName.yaml resources: - resource.yaml results: diff --git a/psp-migration/restrict-runtimeClassName/resource.yaml b/psp-migration/restrict-runtimeClassName/.kyverno-test/resource.yaml similarity index 100% rename from psp-migration/restrict-runtimeClassName/resource.yaml rename to psp-migration/restrict-runtimeClassName/.kyverno-test/resource.yaml diff --git a/traefik/disallow-default-tlsoptions/kyverno-test.yaml b/traefik/disallow-default-tlsoptions/.kyverno-test/kyverno-test.yaml similarity index 87% rename from traefik/disallow-default-tlsoptions/kyverno-test.yaml rename to traefik/disallow-default-tlsoptions/.kyverno-test/kyverno-test.yaml index 486ba4b61..445c7aaa5 100644 --- a/traefik/disallow-default-tlsoptions/kyverno-test.yaml +++ b/traefik/disallow-default-tlsoptions/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: disallow-default-tlsoptions policies: -- disallow-default-tlsoptions.yaml +- ../disallow-default-tlsoptions.yaml resources: - resource.yaml results: diff --git a/traefik/disallow-default-tlsoptions/resource.yaml b/traefik/disallow-default-tlsoptions/.kyverno-test/resource.yaml similarity index 100% rename from traefik/disallow-default-tlsoptions/resource.yaml rename to traefik/disallow-default-tlsoptions/.kyverno-test/resource.yaml diff --git a/velero/backup-all-volumes/kyverno-test.yaml b/velero/backup-all-volumes/.kyverno-test/kyverno-test.yaml similarity index 95% rename from velero/backup-all-volumes/kyverno-test.yaml rename to velero/backup-all-volumes/.kyverno-test/kyverno-test.yaml index 87394325d..9d008b6f1 100644 --- a/velero/backup-all-volumes/kyverno-test.yaml +++ b/velero/backup-all-volumes/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: backup-all-volumes policies: -- backup-all-volumes.yaml +- ../backup-all-volumes.yaml resources: - resource.yaml results: diff --git a/velero/backup-all-volumes/patchedResource-fourth.yaml b/velero/backup-all-volumes/.kyverno-test/patchedResource-fourth.yaml similarity index 100% rename from velero/backup-all-volumes/patchedResource-fourth.yaml rename to velero/backup-all-volumes/.kyverno-test/patchedResource-fourth.yaml diff --git a/velero/backup-all-volumes/patchedResource-third.yaml b/velero/backup-all-volumes/.kyverno-test/patchedResource-third.yaml similarity index 100% rename from velero/backup-all-volumes/patchedResource-third.yaml rename to velero/backup-all-volumes/.kyverno-test/patchedResource-third.yaml diff --git a/velero/backup-all-volumes/patchedResource.yaml b/velero/backup-all-volumes/.kyverno-test/patchedResource.yaml similarity index 100% rename from velero/backup-all-volumes/patchedResource.yaml rename to velero/backup-all-volumes/.kyverno-test/patchedResource.yaml diff --git a/velero/backup-all-volumes/resource.yaml b/velero/backup-all-volumes/.kyverno-test/resource.yaml similarity index 100% rename from velero/backup-all-volumes/resource.yaml rename to velero/backup-all-volumes/.kyverno-test/resource.yaml diff --git a/velero/backup-all-volumes/values.yaml b/velero/backup-all-volumes/.kyverno-test/values.yaml similarity index 100% rename from velero/backup-all-volumes/values.yaml rename to velero/backup-all-volumes/.kyverno-test/values.yaml diff --git a/velero/block-velero-restore/kyverno-test.yaml b/velero/block-velero-restore/.kyverno-test/kyverno-test.yaml similarity index 93% rename from velero/block-velero-restore/kyverno-test.yaml rename to velero/block-velero-restore/.kyverno-test/kyverno-test.yaml index ce805a27f..64ab3c92a 100644 --- a/velero/block-velero-restore/kyverno-test.yaml +++ b/velero/block-velero-restore/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: block-velero-restore policies: -- block-velero-restore.yaml +- ../block-velero-restore.yaml resources: - resource.yaml results: diff --git a/velero/block-velero-restore/resource.yaml b/velero/block-velero-restore/.kyverno-test/resource.yaml similarity index 100% rename from velero/block-velero-restore/resource.yaml rename to velero/block-velero-restore/.kyverno-test/resource.yaml diff --git a/velero/validate-cron-schedule/kyverno-test.yaml b/velero/validate-cron-schedule/.kyverno-test/kyverno-test.yaml similarity index 91% rename from velero/validate-cron-schedule/kyverno-test.yaml rename to velero/validate-cron-schedule/.kyverno-test/kyverno-test.yaml index e7e08e12e..942f49cd4 100644 --- a/velero/validate-cron-schedule/kyverno-test.yaml +++ b/velero/validate-cron-schedule/.kyverno-test/kyverno-test.yaml @@ -3,7 +3,7 @@ kind: Test metadata: name: validate-cron-schedule policies: -- validate-cron-schedule.yaml +- ../validate-cron-schedule.yaml resources: - resources.yaml results: diff --git a/velero/validate-cron-schedule/resources.yaml b/velero/validate-cron-schedule/.kyverno-test/resources.yaml similarity index 100% rename from velero/validate-cron-schedule/resources.yaml rename to velero/validate-cron-schedule/.kyverno-test/resources.yaml