diff --git a/argo-cel/application-field-validation/.chainsaw-test/policy-ready.yaml b/argo-cel/application-field-validation/.chainsaw-test/policy-ready.yaml index 4f0ddbf67..6dc354021 100755 --- a/argo-cel/application-field-validation/.chainsaw-test/policy-ready.yaml +++ b/argo-cel/application-field-validation/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: application-field-validation status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo-cel/application-prevent-default-project/.chainsaw-test/policy-ready.yaml b/argo-cel/application-prevent-default-project/.chainsaw-test/policy-ready.yaml index 0edbc929b..cbef78483 100755 --- a/argo-cel/application-prevent-default-project/.chainsaw-test/policy-ready.yaml +++ b/argo-cel/application-prevent-default-project/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: application-prevent-default-project status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo-cel/application-prevent-updates-project/.chainsaw-test/policy-ready.yaml b/argo-cel/application-prevent-updates-project/.chainsaw-test/policy-ready.yaml index 820069362..24cddb73a 100755 --- a/argo-cel/application-prevent-updates-project/.chainsaw-test/policy-ready.yaml +++ b/argo-cel/application-prevent-updates-project/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: application-prevent-updates-project status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo-cel/applicationset-name-matches-project/.chainsaw-test/policy-ready.yaml b/argo-cel/applicationset-name-matches-project/.chainsaw-test/policy-ready.yaml index 5e891f2a0..9630ddada 100755 --- a/argo-cel/applicationset-name-matches-project/.chainsaw-test/policy-ready.yaml +++ b/argo-cel/applicationset-name-matches-project/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: applicationset-name-matches-project status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo-cel/appproject-clusterresourceblacklist/.chainsaw-test/policy-ready.yaml b/argo-cel/appproject-clusterresourceblacklist/.chainsaw-test/policy-ready.yaml index 745e7b98b..8c0d37ede 100755 --- a/argo-cel/appproject-clusterresourceblacklist/.chainsaw-test/policy-ready.yaml +++ b/argo-cel/appproject-clusterresourceblacklist/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: appproject-clusterresourceblacklist status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo/application-field-validation/.chainsaw-test/chainsaw-step-02-assert-1.yaml b/argo/application-field-validation/.chainsaw-test/chainsaw-step-02-assert-1.yaml index 4f0ddbf67..6dc354021 100755 --- a/argo/application-field-validation/.chainsaw-test/chainsaw-step-02-assert-1.yaml +++ b/argo/application-field-validation/.chainsaw-test/chainsaw-step-02-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: application-field-validation status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo/application-prevent-default-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml b/argo/application-prevent-default-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml index 0edbc929b..cbef78483 100755 --- a/argo/application-prevent-default-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml +++ b/argo/application-prevent-default-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: application-prevent-default-project status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo/application-prevent-updates-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml b/argo/application-prevent-updates-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml index 820069362..24cddb73a 100755 --- a/argo/application-prevent-updates-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml +++ b/argo/application-prevent-updates-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: application-prevent-updates-project status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo/applicationset-name-matches-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml b/argo/applicationset-name-matches-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml index 5e891f2a0..9630ddada 100755 --- a/argo/applicationset-name-matches-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml +++ b/argo/applicationset-name-matches-project/.chainsaw-test/chainsaw-step-02-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: applicationset-name-matches-project status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo/appproject-clusterresourceblacklist/.chainsaw-test/chainsaw-step-02-assert-1.yaml b/argo/appproject-clusterresourceblacklist/.chainsaw-test/chainsaw-step-02-assert-1.yaml index 745e7b98b..8c0d37ede 100755 --- a/argo/appproject-clusterresourceblacklist/.chainsaw-test/chainsaw-step-02-assert-1.yaml +++ b/argo/appproject-clusterresourceblacklist/.chainsaw-test/chainsaw-step-02-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: appproject-clusterresourceblacklist status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/argo/argo-cluster-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml b/argo/argo-cluster-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml index e1c518a70..24b9d4502 100644 --- a/argo/argo-cluster-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml +++ b/argo/argo-cluster-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: argo-cluster-generation-from-rancher-capi status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/aws-cel/require-encryption-aws-loadbalancers/.chainsaw-test/policy-ready.yaml b/aws-cel/require-encryption-aws-loadbalancers/.chainsaw-test/policy-ready.yaml index 7806e1591..169f02e73 100755 --- a/aws-cel/require-encryption-aws-loadbalancers/.chainsaw-test/policy-ready.yaml +++ b/aws-cel/require-encryption-aws-loadbalancers/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-encryption-aws-loadbalancers status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/aws/require-encryption-aws-loadbalancers/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/aws/require-encryption-aws-loadbalancers/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 7806e1591..169f02e73 100755 --- a/aws/require-encryption-aws-loadbalancers/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/aws/require-encryption-aws-loadbalancers/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-encryption-aws-loadbalancers status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml b/best-practices-cel/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml index 24674e4c7..0e6bde6b2 100755 --- a/best-practices-cel/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-container-sock-mounts status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/disallow-default-namespace/.chainsaw-test/policy-ready.yaml b/best-practices-cel/disallow-default-namespace/.chainsaw-test/policy-ready.yaml index 1ce933d92..077564486 100755 --- a/best-practices-cel/disallow-default-namespace/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/disallow-default-namespace/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-default-namespace status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml b/best-practices-cel/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml index 9a61e3f0d..957e645c5 100644 --- a/best-practices-cel/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-empty-ingress-host status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml b/best-practices-cel/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml index ee708ab7e..e97801af1 100755 --- a/best-practices-cel/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-helm-tiller status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/disallow-latest-tag/.chainsaw-test/policy-ready.yaml b/best-practices-cel/disallow-latest-tag/.chainsaw-test/policy-ready.yaml index 86e057994..19f475312 100755 --- a/best-practices-cel/disallow-latest-tag/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/disallow-latest-tag/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-latest-tag status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/require-drop-all/.chainsaw-test/policy-ready.yaml b/best-practices-cel/require-drop-all/.chainsaw-test/policy-ready.yaml index 8a4a66d15..bfb8f0860 100755 --- a/best-practices-cel/require-drop-all/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/require-drop-all/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: drop-all-capabilities status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml b/best-practices-cel/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml index d82e1d543..ce4466741 100755 --- a/best-practices-cel/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: drop-cap-net-raw status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/require-labels/.chainsaw-test/policy-ready.yaml b/best-practices-cel/require-labels/.chainsaw-test/policy-ready.yaml index 90301b18d..b0bd73c54 100755 --- a/best-practices-cel/require-labels/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/require-labels/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: require-labels status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml b/best-practices-cel/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml index b874ffaeb..f6710ff99 100755 --- a/best-practices-cel/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: require-requests-limits status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/require-probes/.chainsaw-test/policy-ready.yaml b/best-practices-cel/require-probes/.chainsaw-test/policy-ready.yaml index 7087bf19f..c93bde46e 100755 --- a/best-practices-cel/require-probes/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/require-probes/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: require-pod-probes status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/require-ro-rootfs/.chainsaw-test/policy-ready.yaml b/best-practices-cel/require-ro-rootfs/.chainsaw-test/policy-ready.yaml index c1fea112c..0e1123025 100755 --- a/best-practices-cel/require-ro-rootfs/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/require-ro-rootfs/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: require-ro-rootfs status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/restrict-image-registries/.chainsaw-test/policy-ready.yaml b/best-practices-cel/restrict-image-registries/.chainsaw-test/policy-ready.yaml index 5924c7b49..5bb42adbe 100755 --- a/best-practices-cel/restrict-image-registries/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/restrict-image-registries/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-image-registries status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/restrict-node-port/.chainsaw-test/policy-ready.yaml b/best-practices-cel/restrict-node-port/.chainsaw-test/policy-ready.yaml index 71a3f4715..d6c481fb7 100755 --- a/best-practices-cel/restrict-node-port/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/restrict-node-port/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-nodeport status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices-cel/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml b/best-practices-cel/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml index 24f285eed..164fecbff 100755 --- a/best-practices-cel/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml +++ b/best-practices-cel/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-external-ips status: - ready: true - + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/add-network-policy/.chainsaw-test/policy-ready.yaml b/best-practices/add-network-policy/.chainsaw-test/policy-ready.yaml index cf7a8d910..0cda6e225 100644 --- a/best-practices/add-network-policy/.chainsaw-test/policy-ready.yaml +++ b/best-practices/add-network-policy/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-networkpolicy status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/add-networkpolicy-dns/.chainsaw-test/policy-ready.yaml b/best-practices/add-networkpolicy-dns/.chainsaw-test/policy-ready.yaml index caeb4c6cc..9e5775610 100644 --- a/best-practices/add-networkpolicy-dns/.chainsaw-test/policy-ready.yaml +++ b/best-practices/add-networkpolicy-dns/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-networkpolicy-dns status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/add-ns-quota/.chainsaw-test/policy-ready.yaml b/best-practices/add-ns-quota/.chainsaw-test/policy-ready.yaml index 4b51cee90..b4aa53546 100644 --- a/best-practices/add-ns-quota/.chainsaw-test/policy-ready.yaml +++ b/best-practices/add-ns-quota/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-ns-quota status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/add-rolebinding/.chainsaw-test/policy-ready.yaml b/best-practices/add-rolebinding/.chainsaw-test/policy-ready.yaml index 50f7cff4e..4c84112c8 100644 --- a/best-practices/add-rolebinding/.chainsaw-test/policy-ready.yaml +++ b/best-practices/add-rolebinding/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-rolebinding status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/add-safe-to-evict/.chainsaw-test/policy-ready.yaml b/best-practices/add-safe-to-evict/.chainsaw-test/policy-ready.yaml index 07388b1b3..d3497a788 100644 --- a/best-practices/add-safe-to-evict/.chainsaw-test/policy-ready.yaml +++ b/best-practices/add-safe-to-evict/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-safe-to-evict status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml b/best-practices/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml index dff1a66ea..0e6bde6b2 100755 --- a/best-practices/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml +++ b/best-practices/disallow-cri-sock-mount/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-container-sock-mounts status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/disallow-default-namespace/.chainsaw-test/policy-ready.yaml b/best-practices/disallow-default-namespace/.chainsaw-test/policy-ready.yaml index 1251ec4c8..077564486 100755 --- a/best-practices/disallow-default-namespace/.chainsaw-test/policy-ready.yaml +++ b/best-practices/disallow-default-namespace/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-default-namespace status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml b/best-practices/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml index 36ff57cd3..957e645c5 100644 --- a/best-practices/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml +++ b/best-practices/disallow-empty-ingress-host/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-empty-ingress-host status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml b/best-practices/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml index 60a2fd6e4..e97801af1 100755 --- a/best-practices/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml +++ b/best-practices/disallow-helm-tiller/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-helm-tiller status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/disallow-latest-tag/.chainsaw-test/policy-ready.yaml b/best-practices/disallow-latest-tag/.chainsaw-test/policy-ready.yaml index 4431d2055..19f475312 100755 --- a/best-practices/disallow-latest-tag/.chainsaw-test/policy-ready.yaml +++ b/best-practices/disallow-latest-tag/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-latest-tag status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/require-drop-all/.chainsaw-test/policy-ready.yaml b/best-practices/require-drop-all/.chainsaw-test/policy-ready.yaml index 4339ae7c7..bfb8f0860 100755 --- a/best-practices/require-drop-all/.chainsaw-test/policy-ready.yaml +++ b/best-practices/require-drop-all/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: drop-all-capabilities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml b/best-practices/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml index 03b0391c4..ce4466741 100755 --- a/best-practices/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml +++ b/best-practices/require-drop-cap-net-raw/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: drop-cap-net-raw status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/require-labels/.chainsaw-test/policy-ready.yaml b/best-practices/require-labels/.chainsaw-test/policy-ready.yaml index fa7e963f6..b0bd73c54 100755 --- a/best-practices/require-labels/.chainsaw-test/policy-ready.yaml +++ b/best-practices/require-labels/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-labels status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml b/best-practices/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml index b009150b5..f6710ff99 100755 --- a/best-practices/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml +++ b/best-practices/require-pod-requests-limits/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-requests-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/require-probes/.chainsaw-test/policy-ready.yaml b/best-practices/require-probes/.chainsaw-test/policy-ready.yaml index a6dc7d083..c93bde46e 100755 --- a/best-practices/require-probes/.chainsaw-test/policy-ready.yaml +++ b/best-practices/require-probes/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-pod-probes status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/require-ro-rootfs/.chainsaw-test/policy-ready.yaml b/best-practices/require-ro-rootfs/.chainsaw-test/policy-ready.yaml index 072aa7a74..0e1123025 100755 --- a/best-practices/require-ro-rootfs/.chainsaw-test/policy-ready.yaml +++ b/best-practices/require-ro-rootfs/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-ro-rootfs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/restrict-image-registries/.chainsaw-test/policy-ready.yaml b/best-practices/restrict-image-registries/.chainsaw-test/policy-ready.yaml index 579108a78..5bb42adbe 100755 --- a/best-practices/restrict-image-registries/.chainsaw-test/policy-ready.yaml +++ b/best-practices/restrict-image-registries/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-image-registries status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/restrict-node-port/.chainsaw-test/policy-ready.yaml b/best-practices/restrict-node-port/.chainsaw-test/policy-ready.yaml index 4dd4e0f7f..d6c481fb7 100755 --- a/best-practices/restrict-node-port/.chainsaw-test/policy-ready.yaml +++ b/best-practices/restrict-node-port/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-nodeport status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/best-practices/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml b/best-practices/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml index b6103cad3..164fecbff 100755 --- a/best-practices/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml +++ b/best-practices/restrict-service-external-ips/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-external-ips status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/castai/add-castai-removal-disabled/.chainsaw-test/policy-ready.yaml b/castai/add-castai-removal-disabled/.chainsaw-test/policy-ready.yaml index d28d8cede..a80dac8d0 100644 --- a/castai/add-castai-removal-disabled/.chainsaw-test/policy-ready.yaml +++ b/castai/add-castai-removal-disabled/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-castai-removal-disabled status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-1.yaml index e274fbacf..fcf8c1a7b 100755 --- a/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/cert-manager/limit-dnsnames/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: cert-manager-limit-dnsnames status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/cert-manager/limit-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/cert-manager/limit-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 96c5357e0..dd325c6ac 100755 --- a/cert-manager/limit-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/cert-manager/limit-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: cert-manager-limit-duration status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/cert-manager/restrict-issuer/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/cert-manager/restrict-issuer/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 954ef628c..d63370368 100755 --- a/cert-manager/restrict-issuer/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/cert-manager/restrict-issuer/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: cert-manager-restrict-issuer status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/consul-cel/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml b/consul-cel/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml index be7a47e8e..96fdaebc2 100644 --- a/consul-cel/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml +++ b/consul-cel/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-min-tls-version status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/consul/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml b/consul/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml index be7a47e8e..96fdaebc2 100644 --- a/consul/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml +++ b/consul/enforce-min-tls-version/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-min-tls-version status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/flux-cel/verify-flux-sources/.chainsaw-test/policy-ready.yaml b/flux-cel/verify-flux-sources/.chainsaw-test/policy-ready.yaml index 30e325f84..262f00af3 100755 --- a/flux-cel/verify-flux-sources/.chainsaw-test/policy-ready.yaml +++ b/flux-cel/verify-flux-sources/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: verify-flux-sources status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/flux-cel/verify-git-repositories/.chainsaw-test-rename-after-issue-10313-fix/policy-ready.yaml b/flux-cel/verify-git-repositories/.chainsaw-test-rename-after-issue-10313-fix/policy-ready.yaml index 7cf04ed5a..5155b9eeb 100644 --- a/flux-cel/verify-git-repositories/.chainsaw-test-rename-after-issue-10313-fix/policy-ready.yaml +++ b/flux-cel/verify-git-repositories/.chainsaw-test-rename-after-issue-10313-fix/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: verify-git-repositories status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/flux/generate-flux-multi-tenant-resources/.chainsaw-test/policy-ready.yaml b/flux/generate-flux-multi-tenant-resources/.chainsaw-test/policy-ready.yaml index 89c55d909..24d376cbf 100644 --- a/flux/generate-flux-multi-tenant-resources/.chainsaw-test/policy-ready.yaml +++ b/flux/generate-flux-multi-tenant-resources/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: generate-flux-multi-tenant-resources status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/flux/verify-flux-images/.chainsaw-test/policy-ready.yaml b/flux/verify-flux-images/.chainsaw-test/policy-ready.yaml index a865af19a..da74467e6 100644 --- a/flux/verify-flux-images/.chainsaw-test/policy-ready.yaml +++ b/flux/verify-flux-images/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: verify-flux-images status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/flux/verify-flux-sources/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/flux/verify-flux-sources/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 30e325f84..262f00af3 100755 --- a/flux/verify-flux-sources/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/flux/verify-flux-sources/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: verify-flux-sources status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/flux/verify-git-repositories/.chainsaw-test/policy-ready.yaml b/flux/verify-git-repositories/.chainsaw-test/policy-ready.yaml index 7cf04ed5a..5155b9eeb 100644 --- a/flux/verify-git-repositories/.chainsaw-test/policy-ready.yaml +++ b/flux/verify-git-repositories/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: verify-git-repositories status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio-cel/enforce-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml b/istio-cel/enforce-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml index acc3f29fb..d536a3082 100755 --- a/istio-cel/enforce-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml +++ b/istio-cel/enforce-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-sidecar-injection-namespace status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio-cel/enforce-strict-mtls/.chainsaw-test/policy-ready.yaml b/istio-cel/enforce-strict-mtls/.chainsaw-test/policy-ready.yaml index c5f7637cb..5b830e062 100755 --- a/istio-cel/enforce-strict-mtls/.chainsaw-test/policy-ready.yaml +++ b/istio-cel/enforce-strict-mtls/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-strict-mtls status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio-cel/prevent-disabling-injection-pods/.chainsaw-test/policy-ready.yaml b/istio-cel/prevent-disabling-injection-pods/.chainsaw-test/policy-ready.yaml index 4c6866bd0..2e032de89 100755 --- a/istio-cel/prevent-disabling-injection-pods/.chainsaw-test/policy-ready.yaml +++ b/istio-cel/prevent-disabling-injection-pods/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: prevent-disabling-injection-pods status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/add-ambient-mode-namespace/.chainsaw-test/policy-ready.yaml b/istio/add-ambient-mode-namespace/.chainsaw-test/policy-ready.yaml index 12870b244..b589170fd 100644 --- a/istio/add-ambient-mode-namespace/.chainsaw-test/policy-ready.yaml +++ b/istio/add-ambient-mode-namespace/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-ambient-mode-namespace status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/add-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml b/istio/add-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml index 350145f08..9b37e7c50 100644 --- a/istio/add-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml +++ b/istio/add-sidecar-injection-namespace/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-sidecar-injection-namespace status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/create-authorizationpolicy/.chainsaw-test/policy-ready.yaml b/istio/create-authorizationpolicy/.chainsaw-test/policy-ready.yaml index dae62e0d2..6e8841185 100644 --- a/istio/create-authorizationpolicy/.chainsaw-test/policy-ready.yaml +++ b/istio/create-authorizationpolicy/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: create-authorizationpolicy status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/enforce-ambient-mode-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/istio/enforce-ambient-mode-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 5e9e5da0c..8c6d4630d 100644 --- a/istio/enforce-ambient-mode-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/istio/enforce-ambient-mode-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-ambient-mode-namespace status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/enforce-sidecar-injection-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/istio/enforce-sidecar-injection-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml index acc3f29fb..d536a3082 100755 --- a/istio/enforce-sidecar-injection-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/istio/enforce-sidecar-injection-namespace/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-sidecar-injection-namespace status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/enforce-strict-mtls/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/istio/enforce-strict-mtls/.chainsaw-test/chainsaw-step-01-assert-1.yaml index c5f7637cb..5b830e062 100755 --- a/istio/enforce-strict-mtls/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/istio/enforce-strict-mtls/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-strict-mtls status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/enforce-tls-hosts-host-subnets/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/istio/enforce-tls-hosts-host-subnets/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a79bc18f7..fd57ad415 100755 --- a/istio/enforce-tls-hosts-host-subnets/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/istio/enforce-tls-hosts-host-subnets/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enforce-tls-hosts-host-subnets status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/prevent-disabling-injection-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/istio/prevent-disabling-injection-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 4c6866bd0..2e032de89 100755 --- a/istio/prevent-disabling-injection-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/istio/prevent-disabling-injection-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: prevent-disabling-injection-pods status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/require-authorizationpolicy/.chainsaw-test/policy-ready.yaml b/istio/require-authorizationpolicy/.chainsaw-test/policy-ready.yaml index ee13fec52..531869ffd 100644 --- a/istio/require-authorizationpolicy/.chainsaw-test/policy-ready.yaml +++ b/istio/require-authorizationpolicy/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-authorizationpolicies status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/restrict-virtual-service-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/istio/restrict-virtual-service-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml index e823cc767..b1adfb176 100755 --- a/istio/restrict-virtual-service-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/istio/restrict-virtual-service-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-virtual-service-wildcard status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/service-mesh-disallow-capabilities/.chainsaw-test/policy-ready.yaml b/istio/service-mesh-disallow-capabilities/.chainsaw-test/policy-ready.yaml index 0238b4abb..3506239bf 100644 --- a/istio/service-mesh-disallow-capabilities/.chainsaw-test/policy-ready.yaml +++ b/istio/service-mesh-disallow-capabilities/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: service-mesh-disallow-capabilities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/istio/service-mesh-require-run-as-nonroot/.chainsaw-test/policy-ready.yaml b/istio/service-mesh-require-run-as-nonroot/.chainsaw-test/policy-ready.yaml index a5dc1eb82..84f1f8fca 100644 --- a/istio/service-mesh-require-run-as-nonroot/.chainsaw-test/policy-ready.yaml +++ b/istio/service-mesh-require-run-as-nonroot/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: service-mesh-require-run-as-nonroot status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/karpenter/add-karpenter-daemonset-priority-class/.chainsaw-test/policy-ready.yaml b/karpenter/add-karpenter-daemonset-priority-class/.chainsaw-test/policy-ready.yaml index ec47d15a5..4e45c009d 100644 --- a/karpenter/add-karpenter-daemonset-priority-class/.chainsaw-test/policy-ready.yaml +++ b/karpenter/add-karpenter-daemonset-priority-class/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-karpenter-daemonset-priority-class status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/karpenter/add-karpenter-donot-evict/.chainsaw-test/policy-ready.yaml b/karpenter/add-karpenter-donot-evict/.chainsaw-test/policy-ready.yaml index 7329ff5d9..c5ce7564c 100644 --- a/karpenter/add-karpenter-donot-evict/.chainsaw-test/policy-ready.yaml +++ b/karpenter/add-karpenter-donot-evict/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-karpenter-donot-evict status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/karpenter/add-karpenter-nodeselector/.chainsaw-test/policy-ready.yaml b/karpenter/add-karpenter-nodeselector/.chainsaw-test/policy-ready.yaml index 0e5bb13b2..eb3cc093d 100644 --- a/karpenter/add-karpenter-nodeselector/.chainsaw-test/policy-ready.yaml +++ b/karpenter/add-karpenter-nodeselector/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-karpenter-nodeselector status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/karpenter/set-karpenter-non-cpu-limits/.chainsaw-test/policy-ready.yaml b/karpenter/set-karpenter-non-cpu-limits/.chainsaw-test/policy-ready.yaml index 3c3b4feac..87aecac73 100644 --- a/karpenter/set-karpenter-non-cpu-limits/.chainsaw-test/policy-ready.yaml +++ b/karpenter/set-karpenter-non-cpu-limits/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: set-karpenter-non-cpu-limits status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten-cel/k10-data-protection-by-label/.chainsaw-test/policy-ready.yaml b/kasten-cel/k10-data-protection-by-label/.chainsaw-test/policy-ready.yaml index 4e8dfe8c2..54fa59bf8 100755 --- a/kasten-cel/k10-data-protection-by-label/.chainsaw-test/policy-ready.yaml +++ b/kasten-cel/k10-data-protection-by-label/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: k10-data-protection-by-label status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten-cel/k10-hourly-rpo/.chainsaw-test/policy-ready.yaml b/kasten-cel/k10-hourly-rpo/.chainsaw-test/policy-ready.yaml index 3fa1c7221..41d795a32 100755 --- a/kasten-cel/k10-hourly-rpo/.chainsaw-test/policy-ready.yaml +++ b/kasten-cel/k10-hourly-rpo/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: k10-policy-hourly-rpo status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten-cel/k10-validate-ns-by-preset-label/.chainsaw-test/policy-ready.yaml b/kasten-cel/k10-validate-ns-by-preset-label/.chainsaw-test/policy-ready.yaml index 27e86f51b..744ccb78e 100755 --- a/kasten-cel/k10-validate-ns-by-preset-label/.chainsaw-test/policy-ready.yaml +++ b/kasten-cel/k10-validate-ns-by-preset-label/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: k10-validate-ns-by-preset-label status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten/kasten-3-2-1-backup/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/kasten/kasten-3-2-1-backup/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 5f75f24ec..e553bb9cd 100755 --- a/kasten/kasten-3-2-1-backup/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/kasten/kasten-3-2-1-backup/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: kasten-3-2-1-backup-policy status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten/kasten-data-protection-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/kasten/kasten-data-protection-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml index e9f379862..c77a33a63 100755 --- a/kasten/kasten-data-protection-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/kasten/kasten-data-protection-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: kasten-data-protection-by-label status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten/kasten-generate-policy-by-preset-label/.chainsaw-test/policy-ready.yaml b/kasten/kasten-generate-policy-by-preset-label/.chainsaw-test/policy-ready.yaml index 5273b5370..319a8fa1d 100644 --- a/kasten/kasten-generate-policy-by-preset-label/.chainsaw-test/policy-ready.yaml +++ b/kasten/kasten-generate-policy-by-preset-label/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: kasten-generate-policy-by-preset-label status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten/kasten-hourly-rpo/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/kasten/kasten-hourly-rpo/.chainsaw-test/chainsaw-step-01-assert-1.yaml index c1bc4202f..d210f50d4 100755 --- a/kasten/kasten-hourly-rpo/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/kasten/kasten-hourly-rpo/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: kasten-hourly-rpo status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kasten/kasten-validate-ns-by-preset-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/kasten/kasten-validate-ns-by-preset-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml index d65a30c42..03a661f34 100755 --- a/kasten/kasten-validate-ns-by-preset-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/kasten/kasten-validate-ns-by-preset-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: kasten-validate-ns-by-preset-label status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kubecost-cel/require-kubecost-labels/.chainsaw-test/policy-ready.yaml b/kubecost-cel/require-kubecost-labels/.chainsaw-test/policy-ready.yaml index ed44c7cf3..59d82a83b 100755 --- a/kubecost-cel/require-kubecost-labels/.chainsaw-test/policy-ready.yaml +++ b/kubecost-cel/require-kubecost-labels/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-kubecost-labels status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kubecost/enable-kubecost-continuous-rightsizing/.chainsaw-test/policy-ready.yaml b/kubecost/enable-kubecost-continuous-rightsizing/.chainsaw-test/policy-ready.yaml index 067df0230..2de9a7249 100644 --- a/kubecost/enable-kubecost-continuous-rightsizing/.chainsaw-test/policy-ready.yaml +++ b/kubecost/enable-kubecost-continuous-rightsizing/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: enable-kubecost-continuous-rightsizing status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kubecost/require-kubecost-labels/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/kubecost/require-kubecost-labels/.chainsaw-test/chainsaw-step-01-assert-1.yaml index ed44c7cf3..59d82a83b 100755 --- a/kubecost/require-kubecost-labels/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/kubecost/require-kubecost-labels/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-kubecost-labels status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kubeops/config-syncer-secret-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml b/kubeops/config-syncer-secret-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml index 08c867372..407fa4ff4 100644 --- a/kubeops/config-syncer-secret-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml +++ b/kubeops/config-syncer-secret-generation-from-rancher-capi/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: config-syncer-secret-generation-from-rancher-capi status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kubevirt/add-services/.chainsaw-test/policy-ready.yaml b/kubevirt/add-services/.chainsaw-test/policy-ready.yaml index 230b1b098..b181997d3 100644 --- a/kubevirt/add-services/.chainsaw-test/policy-ready.yaml +++ b/kubevirt/add-services/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: k6t-add-services status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/kubevirt/enforce-instancetype/.chainsaw-test/policy-ready.yaml b/kubevirt/enforce-instancetype/.chainsaw-test/policy-ready.yaml index 575119eb7..b6d6478a9 100644 --- a/kubevirt/enforce-instancetype/.chainsaw-test/policy-ready.yaml +++ b/kubevirt/enforce-instancetype/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: k6t-enforce-instancetype status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd-cel/prevent-linkerd-pod-injection-override/.chainsaw-test/policy-ready.yaml b/linkerd-cel/prevent-linkerd-pod-injection-override/.chainsaw-test/policy-ready.yaml index 2d21edf25..dc4acb236 100755 --- a/linkerd-cel/prevent-linkerd-pod-injection-override/.chainsaw-test/policy-ready.yaml +++ b/linkerd-cel/prevent-linkerd-pod-injection-override/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: prevent-linkerd-pod-injection-override status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd-cel/prevent-linkerd-port-skipping/.chainsaw-test/policy-ready.yaml b/linkerd-cel/prevent-linkerd-port-skipping/.chainsaw-test/policy-ready.yaml index 538df5440..5e3757418 100755 --- a/linkerd-cel/prevent-linkerd-port-skipping/.chainsaw-test/policy-ready.yaml +++ b/linkerd-cel/prevent-linkerd-port-skipping/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: prevent-linkerd-port-skipping status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd-cel/require-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml b/linkerd-cel/require-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml index 0a6966bd9..8b24c872b 100755 --- a/linkerd-cel/require-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml +++ b/linkerd-cel/require-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-linkerd-mesh-injection status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd/add-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml b/linkerd/add-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml index c9a189f5a..6edadda16 100644 --- a/linkerd/add-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml +++ b/linkerd/add-linkerd-mesh-injection/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-linkerd-mesh-injection status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd/add-linkerd-policy-annotation/.chainsaw-test/policy-ready.yaml b/linkerd/add-linkerd-policy-annotation/.chainsaw-test/policy-ready.yaml index b32f7e4c9..3db33b823 100644 --- a/linkerd/add-linkerd-policy-annotation/.chainsaw-test/policy-ready.yaml +++ b/linkerd/add-linkerd-policy-annotation/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-linkerd-policy-annotation status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd/check-linkerd-authorizationpolicy/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/linkerd/check-linkerd-authorizationpolicy/.chainsaw-test/chainsaw-step-01-assert-1.yaml index ad356330a..516c9263a 100755 --- a/linkerd/check-linkerd-authorizationpolicy/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/linkerd/check-linkerd-authorizationpolicy/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: check-linkerd-authorizationpolicy status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd/prevent-linkerd-pod-injection-override/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/linkerd/prevent-linkerd-pod-injection-override/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 2d21edf25..dc4acb236 100755 --- a/linkerd/prevent-linkerd-pod-injection-override/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/linkerd/prevent-linkerd-pod-injection-override/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: prevent-linkerd-pod-injection-override status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd/prevent-linkerd-port-skipping/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/linkerd/prevent-linkerd-port-skipping/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 538df5440..5e3757418 100755 --- a/linkerd/prevent-linkerd-port-skipping/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/linkerd/prevent-linkerd-port-skipping/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: prevent-linkerd-port-skipping status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd/require-linkerd-mesh-injection/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/linkerd/require-linkerd-mesh-injection/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 0a6966bd9..8b24c872b 100755 --- a/linkerd/require-linkerd-mesh-injection/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/linkerd/require-linkerd-mesh-injection/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-linkerd-mesh-injection status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/linkerd/require-linkerd-server/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/linkerd/require-linkerd-server/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f23d8af71..d064a4759 100755 --- a/linkerd/require-linkerd-server/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/linkerd/require-linkerd-server/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: require-linkerd-server status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/nginx-ingress-cel/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml b/nginx-ingress-cel/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml index 8419e2c67..22580bde4 100644 --- a/nginx-ingress-cel/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml +++ b/nginx-ingress-cel/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-ingress-nginx-custom-snippets status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/nginx-ingress-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml b/nginx-ingress-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml index 3e2289190..6f095d506 100644 --- a/nginx-ingress-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml +++ b/nginx-ingress-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-annotations status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/nginx-ingress-cel/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml b/nginx-ingress-cel/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml index d172b2aef..9d92cb157 100644 --- a/nginx-ingress-cel/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml +++ b/nginx-ingress-cel/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-ingress-paths status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/nginx-ingress/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml b/nginx-ingress/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml index 8419e2c67..22580bde4 100644 --- a/nginx-ingress/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml +++ b/nginx-ingress/disallow-ingress-nginx-custom-snippets/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-ingress-nginx-custom-snippets status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/nginx-ingress/restrict-annotations/.chainsaw-test/policy-ready.yaml b/nginx-ingress/restrict-annotations/.chainsaw-test/policy-ready.yaml index 3e2289190..6f095d506 100644 --- a/nginx-ingress/restrict-annotations/.chainsaw-test/policy-ready.yaml +++ b/nginx-ingress/restrict-annotations/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-annotations status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/nginx-ingress/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml b/nginx-ingress/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml index d172b2aef..9d92cb157 100644 --- a/nginx-ingress/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml +++ b/nginx-ingress/restrict-ingress-paths/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-ingress-paths status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/openshift-cel/check-routes/.chainsaw-test/policy-ready.yaml b/openshift-cel/check-routes/.chainsaw-test/policy-ready.yaml index 7620a92af..195282bec 100644 --- a/openshift-cel/check-routes/.chainsaw-test/policy-ready.yaml +++ b/openshift-cel/check-routes/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: check-routes status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/openshift-cel/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml b/openshift-cel/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml index ed6d92cb9..3a862d24f 100644 --- a/openshift-cel/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml +++ b/openshift-cel/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-security-context-constraint-anyuid status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/openshift/check-routes/.chainsaw-test/policy-ready.yaml b/openshift/check-routes/.chainsaw-test/policy-ready.yaml index 7620a92af..195282bec 100644 --- a/openshift/check-routes/.chainsaw-test/policy-ready.yaml +++ b/openshift/check-routes/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: check-routes status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/openshift/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml b/openshift/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml index ed6d92cb9..3a862d24f 100644 --- a/openshift/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml +++ b/openshift/disallow-security-context-constraint-anyuid/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-security-context-constraint-anyuid status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/openshift/disallow-self-provisioner-binding/.chainsaw-test/policy-ready.yaml b/openshift/disallow-self-provisioner-binding/.chainsaw-test/policy-ready.yaml index d6f5a4f24..17cd2ac21 100644 --- a/openshift/disallow-self-provisioner-binding/.chainsaw-test/policy-ready.yaml +++ b/openshift/disallow-self-provisioner-binding/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disallow-self-provisioner-binding status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other-cel/advanced-restrict-image-registries/.chainsaw-test/policy-ready.yaml b/other-cel/advanced-restrict-image-registries/.chainsaw-test/policy-ready.yaml index 817091e5a..b0fc37d37 100755 --- a/other-cel/advanced-restrict-image-registries/.chainsaw-test/policy-ready.yaml +++ b/other-cel/advanced-restrict-image-registries/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: advanced-restrict-image-registries status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/allowed-annotations/.chainsaw-test/policy-ready.yaml b/other-cel/allowed-annotations/.chainsaw-test/policy-ready.yaml index e86a1d14c..b0aa428dc 100755 --- a/other-cel/allowed-annotations/.chainsaw-test/policy-ready.yaml +++ b/other-cel/allowed-annotations/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: allowed-annotations status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/allowed-pod-priorities/.chainsaw-test/policy-ready.yaml b/other-cel/allowed-pod-priorities/.chainsaw-test/policy-ready.yaml index 668c9f4fc..e6e0cca79 100755 --- a/other-cel/allowed-pod-priorities/.chainsaw-test/policy-ready.yaml +++ b/other-cel/allowed-pod-priorities/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: allowed-podpriorities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/block-ephemeral-containers/.chainsaw-test/policy-ready.yaml b/other-cel/block-ephemeral-containers/.chainsaw-test/policy-ready.yaml index 612f342f3..76128fcfc 100755 --- a/other-cel/block-ephemeral-containers/.chainsaw-test/policy-ready.yaml +++ b/other-cel/block-ephemeral-containers/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: block-ephemeral-containers status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/check-env-vars/.chainsaw-test/policy-ready.yaml b/other-cel/check-env-vars/.chainsaw-test/policy-ready.yaml index 85d6f8e34..5775be301 100755 --- a/other-cel/check-env-vars/.chainsaw-test/policy-ready.yaml +++ b/other-cel/check-env-vars/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: check-env-vars status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/check-serviceaccount-secrets/.chainsaw-test/policy-ready.yaml b/other-cel/check-serviceaccount-secrets/.chainsaw-test/policy-ready.yaml index f0246f6f7..4e8480426 100644 --- a/other-cel/check-serviceaccount-secrets/.chainsaw-test/policy-ready.yaml +++ b/other-cel/check-serviceaccount-secrets/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: check-serviceaccount-secrets status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/deny-commands-in-exec-probe/.chainsaw-test/policy-ready.yaml b/other-cel/deny-commands-in-exec-probe/.chainsaw-test/policy-ready.yaml index a95d54494..d6eca0d4d 100755 --- a/other-cel/deny-commands-in-exec-probe/.chainsaw-test/policy-ready.yaml +++ b/other-cel/deny-commands-in-exec-probe/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: deny-commands-in-exec-probe status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/deny-secret-service-account-token-type/.chainsaw-test/policy-ready.yaml b/other-cel/deny-secret-service-account-token-type/.chainsaw-test/policy-ready.yaml index 7a079f736..5501ce375 100644 --- a/other-cel/deny-secret-service-account-token-type/.chainsaw-test/policy-ready.yaml +++ b/other-cel/deny-secret-service-account-token-type/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: deny-secret-service-account-token-type status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/disallow-all-secrets/.chainsaw-test/policy-ready.yaml b/other-cel/disallow-all-secrets/.chainsaw-test/policy-ready.yaml index a6c46920f..f9fb06bf8 100755 --- a/other-cel/disallow-all-secrets/.chainsaw-test/policy-ready.yaml +++ b/other-cel/disallow-all-secrets/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: no-secrets status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/disallow-localhost-services/.chainsaw-test/policy-ready.yaml b/other-cel/disallow-localhost-services/.chainsaw-test/policy-ready.yaml index 34d9089d2..29d03237f 100755 --- a/other-cel/disallow-localhost-services/.chainsaw-test/policy-ready.yaml +++ b/other-cel/disallow-localhost-services/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: no-localhost-service status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/disallow-secrets-from-env-vars/.chainsaw-test/policy-ready.yaml b/other-cel/disallow-secrets-from-env-vars/.chainsaw-test/policy-ready.yaml index 5ee01d320..63270e950 100755 --- a/other-cel/disallow-secrets-from-env-vars/.chainsaw-test/policy-ready.yaml +++ b/other-cel/disallow-secrets-from-env-vars/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: secrets-not-from-env-vars status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/docker-socket-requires-label/.chainsaw-test/policy-ready.yaml b/other-cel/docker-socket-requires-label/.chainsaw-test/policy-ready.yaml index 8698d373a..acaba3125 100755 --- a/other-cel/docker-socket-requires-label/.chainsaw-test/policy-ready.yaml +++ b/other-cel/docker-socket-requires-label/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: docker-socket-check status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/enforce-pod-duration/.chainsaw-test/policy-ready.yaml b/other-cel/enforce-pod-duration/.chainsaw-test/policy-ready.yaml index 2530f09c7..ccfce366c 100755 --- a/other-cel/enforce-pod-duration/.chainsaw-test/policy-ready.yaml +++ b/other-cel/enforce-pod-duration/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: pod-lifetime status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/ensure-probes-different/.chainsaw-test/policy-ready.yaml b/other-cel/ensure-probes-different/.chainsaw-test/policy-ready.yaml index 1a741c0b9..93e19afb3 100755 --- a/other-cel/ensure-probes-different/.chainsaw-test/policy-ready.yaml +++ b/other-cel/ensure-probes-different/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: validate-probes status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/ensure-readonly-hostpath/.chainsaw-test/policy-ready.yaml b/other-cel/ensure-readonly-hostpath/.chainsaw-test/policy-ready.yaml index b9b225ce6..35c07ba78 100755 --- a/other-cel/ensure-readonly-hostpath/.chainsaw-test/policy-ready.yaml +++ b/other-cel/ensure-readonly-hostpath/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: ensure-readonly-hostpath status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/exclude-namespaces-dynamically/.chainsaw-test/policy-ready.yaml b/other-cel/exclude-namespaces-dynamically/.chainsaw-test/policy-ready.yaml index 451f8163f..d5c98b767 100755 --- a/other-cel/exclude-namespaces-dynamically/.chainsaw-test/policy-ready.yaml +++ b/other-cel/exclude-namespaces-dynamically/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: exclude-namespaces-example status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/forbid-cpu-limits/.chainsaw-test/policy-ready.yaml b/other-cel/forbid-cpu-limits/.chainsaw-test/policy-ready.yaml index 2babcc6e6..e3475173b 100755 --- a/other-cel/forbid-cpu-limits/.chainsaw-test/policy-ready.yaml +++ b/other-cel/forbid-cpu-limits/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: forbid-cpu-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/imagepullpolicy-always/.chainsaw-test/policy-ready.yaml b/other-cel/imagepullpolicy-always/.chainsaw-test/policy-ready.yaml index 843ff7ef8..b103315ed 100755 --- a/other-cel/imagepullpolicy-always/.chainsaw-test/policy-ready.yaml +++ b/other-cel/imagepullpolicy-always/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: imagepullpolicy-always status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/ingress-host-match-tls/.chainsaw-test/policy-ready.yaml b/other-cel/ingress-host-match-tls/.chainsaw-test/policy-ready.yaml index e9271befe..3ed69ae88 100755 --- a/other-cel/ingress-host-match-tls/.chainsaw-test/policy-ready.yaml +++ b/other-cel/ingress-host-match-tls/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: ingress-host-match-tls status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/limit-containers-per-pod/.chainsaw-test/policy-ready.yaml b/other-cel/limit-containers-per-pod/.chainsaw-test/policy-ready.yaml index 5623d2644..667e425d2 100755 --- a/other-cel/limit-containers-per-pod/.chainsaw-test/policy-ready.yaml +++ b/other-cel/limit-containers-per-pod/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: limit-containers-per-pod status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/limit-hostpath-type-pv/.chainsaw-test/policy-ready.yaml b/other-cel/limit-hostpath-type-pv/.chainsaw-test/policy-ready.yaml index 4282df611..b72728c58 100755 --- a/other-cel/limit-hostpath-type-pv/.chainsaw-test/policy-ready.yaml +++ b/other-cel/limit-hostpath-type-pv/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: limit-hostpath-type-pv status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/limit-hostpath-vols/.chainsaw-test/policy-ready.yaml b/other-cel/limit-hostpath-vols/.chainsaw-test/policy-ready.yaml index b5a967f65..95cce276c 100755 --- a/other-cel/limit-hostpath-vols/.chainsaw-test/policy-ready.yaml +++ b/other-cel/limit-hostpath-vols/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: limit-hostpath-vols status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/memory-requests-equal-limits/.chainsaw-test/policy-ready.yaml b/other-cel/memory-requests-equal-limits/.chainsaw-test/policy-ready.yaml index b0e2885d6..bcf716ae5 100755 --- a/other-cel/memory-requests-equal-limits/.chainsaw-test/policy-ready.yaml +++ b/other-cel/memory-requests-equal-limits/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: memory-requests-equal-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/metadata-match-regex/.chainsaw-test/policy-ready.yaml b/other-cel/metadata-match-regex/.chainsaw-test/policy-ready.yaml index aa0042784..07a3b80e9 100755 --- a/other-cel/metadata-match-regex/.chainsaw-test/policy-ready.yaml +++ b/other-cel/metadata-match-regex/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: metadata-match-regex status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/pdb-maxunavailable/.chainsaw-test/policy-ready.yaml b/other-cel/pdb-maxunavailable/.chainsaw-test/policy-ready.yaml index 235426002..7f289a15c 100755 --- a/other-cel/pdb-maxunavailable/.chainsaw-test/policy-ready.yaml +++ b/other-cel/pdb-maxunavailable/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: pdb-maxunavailable status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/prevent-bare-pods/.chainsaw-test/policy-ready.yaml b/other-cel/prevent-bare-pods/.chainsaw-test/policy-ready.yaml index c88574c2e..5663c2f0e 100755 --- a/other-cel/prevent-bare-pods/.chainsaw-test/policy-ready.yaml +++ b/other-cel/prevent-bare-pods/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: prevent-bare-pods status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-annotations/.chainsaw-test/policy-ready.yaml b/other-cel/require-annotations/.chainsaw-test/policy-ready.yaml index d01618467..184f4f886 100755 --- a/other-cel/require-annotations/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-annotations/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: require-annotations status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-container-port-names/.chainsaw-test/policy-ready.yaml b/other-cel/require-container-port-names/.chainsaw-test/policy-ready.yaml index f8c44c430..ad3202354 100755 --- a/other-cel/require-container-port-names/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-container-port-names/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-container-port-names status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-deployments-have-multiple-replicas/.chainsaw-test/policy-ready.yaml b/other-cel/require-deployments-have-multiple-replicas/.chainsaw-test/policy-ready.yaml index c9b84bffe..22681ce73 100755 --- a/other-cel/require-deployments-have-multiple-replicas/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-deployments-have-multiple-replicas/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: deployment-has-multiple-replicas status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-emptydir-requests-limits/.chainsaw-test/policy-ready.yaml b/other-cel/require-emptydir-requests-limits/.chainsaw-test/policy-ready.yaml index 9aa39646d..7ce8296f7 100755 --- a/other-cel/require-emptydir-requests-limits/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-emptydir-requests-limits/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-emptydir-requests-and-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-image-checksum/.chainsaw-test/policy-ready.yaml b/other-cel/require-image-checksum/.chainsaw-test/policy-ready.yaml index af8d87a62..33b603041 100755 --- a/other-cel/require-image-checksum/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-image-checksum/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: require-image-checksum status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-ingress-https/.chainsaw-test/policy-ready.yaml b/other-cel/require-ingress-https/.chainsaw-test/policy-ready.yaml index 77b55948d..9437be689 100755 --- a/other-cel/require-ingress-https/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-ingress-https/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: require-ingress-https status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-non-root-groups/.chainsaw-test/policy-ready.yaml b/other-cel/require-non-root-groups/.chainsaw-test/policy-ready.yaml index b51263787..637e72bac 100755 --- a/other-cel/require-non-root-groups/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-non-root-groups/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-non-root-groups status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-qos-burstable/.chainsaw-test/policy-ready.yaml b/other-cel/require-qos-burstable/.chainsaw-test/policy-ready.yaml index 100b07c2d..4eba1ec3f 100755 --- a/other-cel/require-qos-burstable/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-qos-burstable/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: require-qos-burstable status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-qos-guaranteed/.chainsaw-test/policy-ready.yaml b/other-cel/require-qos-guaranteed/.chainsaw-test/policy-ready.yaml index 7d014a1b1..08c5d44e0 100755 --- a/other-cel/require-qos-guaranteed/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-qos-guaranteed/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-qos-guaranteed status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/require-storageclass/.chainsaw-test/policy-ready.yaml b/other-cel/require-storageclass/.chainsaw-test/policy-ready.yaml index 512228993..d6a378049 100755 --- a/other-cel/require-storageclass/.chainsaw-test/policy-ready.yaml +++ b/other-cel/require-storageclass/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: require-storageclass status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml index 9643a7fce..06e578ab4 100755 --- a/other-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-annotations/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-annotations status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-binding-clusteradmin/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-binding-clusteradmin/.chainsaw-test/policy-ready.yaml index ef3124247..899bf3663 100755 --- a/other-cel/restrict-binding-clusteradmin/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-binding-clusteradmin/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-binding-clusteradmin status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-binding-system-groups/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-binding-system-groups/.chainsaw-test/policy-ready.yaml index badf5a0e7..4a404d804 100755 --- a/other-cel/restrict-binding-system-groups/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-binding-system-groups/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-binding-system-groups status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-clusterrole-nodesproxy/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-clusterrole-nodesproxy/.chainsaw-test/policy-ready.yaml index 70e535108..5915caeff 100755 --- a/other-cel/restrict-clusterrole-nodesproxy/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-clusterrole-nodesproxy/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-clusterrole-nodesproxy status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-controlplane-scheduling/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-controlplane-scheduling/.chainsaw-test/policy-ready.yaml index 0bf44690a..06a62838f 100755 --- a/other-cel/restrict-controlplane-scheduling/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-controlplane-scheduling/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-controlplane-scheduling status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml index 8c4f59439..83406554a 100644 --- a/other-cel/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-deprecated-registry status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-escalation-verbs-roles/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-escalation-verbs-roles/.chainsaw-test/policy-ready.yaml index a0f2c0f6a..f0dabb37a 100755 --- a/other-cel/restrict-escalation-verbs-roles/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-escalation-verbs-roles/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-escalation-verbs-roles status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-ingress-classes/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-ingress-classes/.chainsaw-test/policy-ready.yaml index bec453ba0..63621d2a2 100755 --- a/other-cel/restrict-ingress-classes/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-ingress-classes/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-ingress-classes status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-ingress-defaultbackend/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-ingress-defaultbackend/.chainsaw-test/policy-ready.yaml index 0767076fa..a55f67374 100755 --- a/other-cel/restrict-ingress-defaultbackend/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-ingress-defaultbackend/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-ingress-defaultbackend status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-ingress-wildcard/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-ingress-wildcard/.chainsaw-test/policy-ready.yaml index df65e8004..128b1e40c 100755 --- a/other-cel/restrict-ingress-wildcard/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-ingress-wildcard/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-ingress-wildcard status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-loadbalancer/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-loadbalancer/.chainsaw-test/policy-ready.yaml index 65c013180..aec687efe 100755 --- a/other-cel/restrict-loadbalancer/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-loadbalancer/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: no-loadbalancer-service status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-networkpolicy-empty-podselector/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-networkpolicy-empty-podselector/.chainsaw-test/policy-ready.yaml index 156ee3c49..f6750f8da 100755 --- a/other-cel/restrict-networkpolicy-empty-podselector/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-networkpolicy-empty-podselector/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-networkpolicy-empty-podselector status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-node-affinity/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-node-affinity/.chainsaw-test/policy-ready.yaml index 323503563..37bea35c1 100755 --- a/other-cel/restrict-node-affinity/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-node-affinity/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-node-affinity status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/policy-ready.yaml index 92b7018c8..9f02c6ee0 100755 --- a/other-cel/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-pod-controller-serviceaccount-updates status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-sa-automount-sa-token/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-sa-automount-sa-token/.chainsaw-test/policy-ready.yaml index 246854703..9216f115f 100644 --- a/other-cel/restrict-sa-automount-sa-token/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-sa-automount-sa-token/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-sa-automount-sa-token status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-secret-role-verbs/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-secret-role-verbs/.chainsaw-test/policy-ready.yaml index 67a19e521..31cc263e5 100755 --- a/other-cel/restrict-secret-role-verbs/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-secret-role-verbs/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-secret-role-verbs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-secrets-by-name/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-secrets-by-name/.chainsaw-test/policy-ready.yaml index 2b34811d6..212ceb7d6 100755 --- a/other-cel/restrict-secrets-by-name/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-secrets-by-name/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-secrets-by-name status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-service-port-range/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-service-port-range/.chainsaw-test/policy-ready.yaml index 079120fd4..2c94a352f 100755 --- a/other-cel/restrict-service-port-range/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-service-port-range/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-service-port-range status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-storageclass/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-storageclass/.chainsaw-test/policy-ready.yaml index 1d3572a1d..16e3af214 100755 --- a/other-cel/restrict-storageclass/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-storageclass/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-storageclass status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-usergroup-fsgroup-id/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-usergroup-fsgroup-id/.chainsaw-test/policy-ready.yaml index 1e451f6c3..f8a123fe9 100755 --- a/other-cel/restrict-usergroup-fsgroup-id/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-usergroup-fsgroup-id/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: validate-userid-groupid-fsgroup status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-wildcard-resources/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-wildcard-resources/.chainsaw-test/policy-ready.yaml index 8c8bc69c9..c5c916747 100755 --- a/other-cel/restrict-wildcard-resources/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-wildcard-resources/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-wildcard-resources status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/restrict-wildcard-verbs/.chainsaw-test/policy-ready.yaml b/other-cel/restrict-wildcard-verbs/.chainsaw-test/policy-ready.yaml index a831c631b..c30a6e387 100755 --- a/other-cel/restrict-wildcard-verbs/.chainsaw-test/policy-ready.yaml +++ b/other-cel/restrict-wildcard-verbs/.chainsaw-test/policy-ready.yaml @@ -3,5 +3,9 @@ kind: ClusterPolicy metadata: name: restrict-wildcard-verbs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other-cel/topologyspreadconstraints-policy/.chainsaw-test/policy-ready.yaml b/other-cel/topologyspreadconstraints-policy/.chainsaw-test/policy-ready.yaml index 080e44efe..42ae17e55 100755 --- a/other-cel/topologyspreadconstraints-policy/.chainsaw-test/policy-ready.yaml +++ b/other-cel/topologyspreadconstraints-policy/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: topologyspreadconstraints-policy status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/add-certificates-volume/.chainsaw-test/policy-ready.yaml b/other/add-certificates-volume/.chainsaw-test/policy-ready.yaml index a65c4f352..be0c14872 100644 --- a/other/add-certificates-volume/.chainsaw-test/policy-ready.yaml +++ b/other/add-certificates-volume/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-certificates-volume status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-default-resources/.chainsaw-test/policy-ready.yaml b/other/add-default-resources/.chainsaw-test/policy-ready.yaml index 6b339310e..c50571612 100644 --- a/other/add-default-resources/.chainsaw-test/policy-ready.yaml +++ b/other/add-default-resources/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-default-resources status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-default-securitycontext/.chainsaw-test/policy-ready.yaml b/other/add-default-securitycontext/.chainsaw-test/policy-ready.yaml index f594dc691..3e89df4d1 100644 --- a/other/add-default-securitycontext/.chainsaw-test/policy-ready.yaml +++ b/other/add-default-securitycontext/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-default-securitycontext status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-env-vars-from-cm/.chainsaw-test/policy-ready.yaml b/other/add-env-vars-from-cm/.chainsaw-test/policy-ready.yaml index f7a674d66..f405b3afc 100644 --- a/other/add-env-vars-from-cm/.chainsaw-test/policy-ready.yaml +++ b/other/add-env-vars-from-cm/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-env-vars-from-cm status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-imagepullsecrets-for-containers-and-initcontainers/.chainsaw-test/policy-ready.yaml b/other/add-imagepullsecrets-for-containers-and-initcontainers/.chainsaw-test/policy-ready.yaml index 5d9b0ed15..3f891b23a 100644 --- a/other/add-imagepullsecrets-for-containers-and-initcontainers/.chainsaw-test/policy-ready.yaml +++ b/other/add-imagepullsecrets-for-containers-and-initcontainers/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-imagepullsecrets-for-containers-and-initcontainers status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-imagepullsecrets/.chainsaw-test/policy-ready.yaml b/other/add-imagepullsecrets/.chainsaw-test/policy-ready.yaml index d0855e8ab..912de8e6d 100644 --- a/other/add-imagepullsecrets/.chainsaw-test/policy-ready.yaml +++ b/other/add-imagepullsecrets/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-imagepullsecrets status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-labels/.chainsaw-test/policy-ready.yaml b/other/add-labels/.chainsaw-test/policy-ready.yaml index 7f1d7387c..7e9f14965 100644 --- a/other/add-labels/.chainsaw-test/policy-ready.yaml +++ b/other/add-labels/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-labels status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-ndots/.chainsaw-test/policy-ready.yaml b/other/add-ndots/.chainsaw-test/policy-ready.yaml index d3a5e5e0a..7b66e88d1 100644 --- a/other/add-ndots/.chainsaw-test/policy-ready.yaml +++ b/other/add-ndots/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-ndots status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-nodeSelector/.chainsaw-test/policy-ready.yaml b/other/add-nodeSelector/.chainsaw-test/policy-ready.yaml index ae9a861dc..b09e0db06 100644 --- a/other/add-nodeSelector/.chainsaw-test/policy-ready.yaml +++ b/other/add-nodeSelector/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-nodeselector status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-pod-proxies/.chainsaw-test/policy-ready.yaml b/other/add-pod-proxies/.chainsaw-test/policy-ready.yaml index b41ad9e5f..5dadd830a 100644 --- a/other/add-pod-proxies/.chainsaw-test/policy-ready.yaml +++ b/other/add-pod-proxies/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-pod-proxies status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/add-ttl-jobs/.chainsaw-test/policy-ready.yaml b/other/add-ttl-jobs/.chainsaw-test/policy-ready.yaml index c9d745ae9..1169d2363 100644 --- a/other/add-ttl-jobs/.chainsaw-test/policy-ready.yaml +++ b/other/add-ttl-jobs/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-ttl-jobs status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/advanced-restrict-image-registries/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/advanced-restrict-image-registries/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 817091e5a..7ec4765db 100755 --- a/other/advanced-restrict-image-registries/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/advanced-restrict-image-registries/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: advanced-restrict-image-registries status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/allowed-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/allowed-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 089b2140f..58bfac67e 100755 --- a/other/allowed-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/allowed-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: allowed-annotations status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/allowed-base-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/allowed-base-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 8ea7309d1..857a74d89 100755 --- a/other/allowed-base-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/allowed-base-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: allowed-base-images status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/allowed-image-repos/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/allowed-image-repos/.chainsaw-test/chainsaw-step-01-assert-1.yaml index d61a55ec9..9e0786950 100755 --- a/other/allowed-image-repos/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/allowed-image-repos/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: allowed-image-repos status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/allowed-label-changes/.chainsaw-test/policy-ready.yaml b/other/allowed-label-changes/.chainsaw-test/policy-ready.yaml index 0032cb311..9712e5443 100644 --- a/other/allowed-label-changes/.chainsaw-test/policy-ready.yaml +++ b/other/allowed-label-changes/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: allowed-label-changes status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/allowed-pod-priorities/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/allowed-pod-priorities/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 5bf922bad..6fd661a10 100755 --- a/other/allowed-pod-priorities/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/allowed-pod-priorities/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: allowed-podpriorities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/always-pull-images/.chainsaw-test/policy-ready.yaml b/other/always-pull-images/.chainsaw-test/policy-ready.yaml index b0054d5ad..38b6d437c 100644 --- a/other/always-pull-images/.chainsaw-test/policy-ready.yaml +++ b/other/always-pull-images/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: always-pull-images status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/apply-pss-restricted-profile/.chainsaw-test/policy-ready.yaml b/other/apply-pss-restricted-profile/.chainsaw-test/policy-ready.yaml index 14fcc0f77..83db65cca 100644 --- a/other/apply-pss-restricted-profile/.chainsaw-test/policy-ready.yaml +++ b/other/apply-pss-restricted-profile/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: apply-pss-restricted-profile status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/audit-event-on-delete/.chainsaw-test/policy-ready.yaml b/other/audit-event-on-delete/.chainsaw-test/policy-ready.yaml index ac60501ba..79597ad99 100644 --- a/other/audit-event-on-delete/.chainsaw-test/policy-ready.yaml +++ b/other/audit-event-on-delete/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: audit-event-on-delete status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/audit-event-on-exec/.chainsaw-test/policy-ready.yaml b/other/audit-event-on-exec/.chainsaw-test/policy-ready.yaml index 820c0db60..966237f55 100644 --- a/other/audit-event-on-exec/.chainsaw-test/policy-ready.yaml +++ b/other/audit-event-on-exec/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: audit-event-on-exec status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/block-cluster-admin-from-ns/.chainsaw-test/policy-ready.yaml b/other/block-cluster-admin-from-ns/.chainsaw-test/policy-ready.yaml index c481e85a1..ef1a58464 100644 --- a/other/block-cluster-admin-from-ns/.chainsaw-test/policy-ready.yaml +++ b/other/block-cluster-admin-from-ns/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: block-cluster-admin-from-ns status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/block-ephemeral-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/block-ephemeral-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 1a9877928..013c407f3 100755 --- a/other/block-ephemeral-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/block-ephemeral-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-ephemeral-containers status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/block-images-with-volumes/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/block-images-with-volumes/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 31f374298..59a7f8589 100755 --- a/other/block-images-with-volumes/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/block-images-with-volumes/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-images-with-volumes status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/block-large-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/block-large-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml index c23b57020..632e42d5c 100755 --- a/other/block-large-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/block-large-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-large-images status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/block-pod-exec-by-namespace-label/.chainsaw-test/policy-ready.yaml b/other/block-pod-exec-by-namespace-label/.chainsaw-test/policy-ready.yaml index f94b296f1..d959413be 100644 --- a/other/block-pod-exec-by-namespace-label/.chainsaw-test/policy-ready.yaml +++ b/other/block-pod-exec-by-namespace-label/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: deny-exec-by-namespace-label status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/block-pod-exec-by-namespace/.chainsaw-test/policy-ready.yaml b/other/block-pod-exec-by-namespace/.chainsaw-test/policy-ready.yaml index 43a9ab178..60cf18c47 100644 --- a/other/block-pod-exec-by-namespace/.chainsaw-test/policy-ready.yaml +++ b/other/block-pod-exec-by-namespace/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: deny-exec-by-namespace-name status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/block-pod-exec-by-pod-and-container/.chainsaw-test/policy-ready.yaml b/other/block-pod-exec-by-pod-and-container/.chainsaw-test/policy-ready.yaml index 700808252..37ff8f0dd 100644 --- a/other/block-pod-exec-by-pod-and-container/.chainsaw-test/policy-ready.yaml +++ b/other/block-pod-exec-by-pod-and-container/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: deny-exec-by-pod-and-container status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/block-pod-exec-by-pod-label/.chainsaw-test/policy-ready.yaml b/other/block-pod-exec-by-pod-label/.chainsaw-test/policy-ready.yaml index 2f10f9132..29794ca53 100644 --- a/other/block-pod-exec-by-pod-label/.chainsaw-test/policy-ready.yaml +++ b/other/block-pod-exec-by-pod-label/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: deny-exec-by-pod-label status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/block-pod-exec-by-pod-name/.chainsaw-test/policy-ready.yaml b/other/block-pod-exec-by-pod-name/.chainsaw-test/policy-ready.yaml index c3e624930..6553e1348 100644 --- a/other/block-pod-exec-by-pod-name/.chainsaw-test/policy-ready.yaml +++ b/other/block-pod-exec-by-pod-name/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: deny-exec-by-pod-name status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/block-stale-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/block-stale-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a94cb88bd..d7383e71d 100755 --- a/other/block-stale-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/block-stale-images/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-stale-images status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/block-updates-deletes/.chainsaw-test/policy-ready.yaml b/other/block-updates-deletes/.chainsaw-test/policy-ready.yaml index ae138f061..9baf158d7 100644 --- a/other/block-updates-deletes/.chainsaw-test/policy-ready.yaml +++ b/other/block-updates-deletes/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: block-updates-deletes status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/check-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/check-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a1a66e266..51af7f041 100755 --- a/other/check-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/check-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: check-env-vars status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/check-hpa-exists/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/check-hpa-exists/.chainsaw-test/chainsaw-step-01-assert-1.yaml index c7e2ac55c..f54312fbc 100755 --- a/other/check-hpa-exists/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/check-hpa-exists/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: check-hpa-exists status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/check-nvidia-gpu/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/check-nvidia-gpu/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 1373f8e29..45328ac8c 100755 --- a/other/check-nvidia-gpu/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/check-nvidia-gpu/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: check-nvidia-gpus status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/check-serviceaccount-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/check-serviceaccount-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 3ff132b35..42d9fcf36 100644 --- a/other/check-serviceaccount-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/check-serviceaccount-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: check-serviceaccount-secrets status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/check-serviceaccount/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/check-serviceaccount/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 44e651654..814fe5ce5 100755 --- a/other/check-serviceaccount/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/check-serviceaccount/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: check-sa status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/check-subjectaccessreview/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/check-subjectaccessreview/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 8531d7103..2d4e46eca 100755 --- a/other/check-subjectaccessreview/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/check-subjectaccessreview/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: check-subjectaccessreview status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/check-vpa-configuration/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/check-vpa-configuration/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 27c9bad2f..06acb8836 100644 --- a/other/check-vpa-configuration/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/check-vpa-configuration/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: check-vpa-configuration status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/concatenate-configmaps/.chainsaw-test/policy-ready.yaml b/other/concatenate-configmaps/.chainsaw-test/policy-ready.yaml index b8ad10271..62f983ca9 100644 --- a/other/concatenate-configmaps/.chainsaw-test/policy-ready.yaml +++ b/other/concatenate-configmaps/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: concatenate-configmaps status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/copy-namespace-labels/.chainsaw-test/policy-ready.yaml b/other/copy-namespace-labels/.chainsaw-test/policy-ready.yaml index 1fed6971c..f66a1375d 100644 --- a/other/copy-namespace-labels/.chainsaw-test/policy-ready.yaml +++ b/other/copy-namespace-labels/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: copy-namespace-labels status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/create-default-pdb/.chainsaw-test/policy-ready.yaml b/other/create-default-pdb/.chainsaw-test/policy-ready.yaml index 55434454f..0a9d8507c 100644 --- a/other/create-default-pdb/.chainsaw-test/policy-ready.yaml +++ b/other/create-default-pdb/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: create-default-pdb status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/create-pod-antiaffinity/.chainsaw-test/policy-ready.yaml b/other/create-pod-antiaffinity/.chainsaw-test/policy-ready.yaml index 0d09b5584..68c82d8fe 100644 --- a/other/create-pod-antiaffinity/.chainsaw-test/policy-ready.yaml +++ b/other/create-pod-antiaffinity/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: insert-pod-antiaffinity status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/deny-commands-in-exec-probe/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/deny-commands-in-exec-probe/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a95d54494..d6eca0d4d 100755 --- a/other/deny-commands-in-exec-probe/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/deny-commands-in-exec-probe/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: deny-commands-in-exec-probe status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/deny-secret-service-account-token-type/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/deny-secret-service-account-token-type/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 20cbb81b1..b1d0e5bda 100644 --- a/other/deny-secret-service-account-token-type/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/deny-secret-service-account-token-type/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: deny-secret-service-account-token-type status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/deployment-replicas-higher-than-pdb/.chainsaw-test/policy-ready.yaml b/other/deployment-replicas-higher-than-pdb/.chainsaw-test/policy-ready.yaml index e89ba5d6f..a0ebe4fa9 100644 --- a/other/deployment-replicas-higher-than-pdb/.chainsaw-test/policy-ready.yaml +++ b/other/deployment-replicas-higher-than-pdb/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: deployment-replicas-higher-than-pdb status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/disable-automountserviceaccounttoken/.chainsaw-test/policy-ready.yaml b/other/disable-automountserviceaccounttoken/.chainsaw-test/policy-ready.yaml index 0363819a2..4c6a057ee 100644 --- a/other/disable-automountserviceaccounttoken/.chainsaw-test/policy-ready.yaml +++ b/other/disable-automountserviceaccounttoken/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disable-automountserviceaccounttoken status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/disable-service-discovery/.chainsaw-test/policy-ready.yaml b/other/disable-service-discovery/.chainsaw-test/policy-ready.yaml index 33cc29f72..7638bb1cd 100644 --- a/other/disable-service-discovery/.chainsaw-test/policy-ready.yaml +++ b/other/disable-service-discovery/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: disable-service-discovery status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/disallow-all-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/disallow-all-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 1f88265d6..9806aed9b 100755 --- a/other/disallow-all-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/disallow-all-secrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: no-secrets status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/disallow-localhost-services/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/disallow-localhost-services/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 730a95d13..675fb79d1 100755 --- a/other/disallow-localhost-services/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/disallow-localhost-services/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: no-localhost-service status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/disallow-secrets-from-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/disallow-secrets-from-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f8d45db5d..899cbe9e3 100755 --- a/other/disallow-secrets-from-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/disallow-secrets-from-env-vars/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: secrets-not-from-env-vars status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/dns-policy-and-dns-config/.chainsaw-test/policy-ready.yaml b/other/dns-policy-and-dns-config/.chainsaw-test/policy-ready.yaml index 8f8760ec9..1e00f064d 100644 --- a/other/dns-policy-and-dns-config/.chainsaw-test/policy-ready.yaml +++ b/other/dns-policy-and-dns-config/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: change-dns-config-policy status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/docker-socket-requires-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/docker-socket-requires-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml index e73d54241..0fcc00e65 100755 --- a/other/docker-socket-requires-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/docker-socket-requires-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: docker-socket-check status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/enforce-pod-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/enforce-pod-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b53713baf..6ec2cfb1f 100755 --- a/other/enforce-pod-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/enforce-pod-duration/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: pod-lifetime status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/enforce-resources-as-ratio/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/enforce-resources-as-ratio/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 47804a262..dab21a517 100755 --- a/other/enforce-resources-as-ratio/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/enforce-resources-as-ratio/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: enforce-resources-as-ratio status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/ensure-probes-different/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/ensure-probes-different/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 1f660a84a..9013e5de2 100755 --- a/other/ensure-probes-different/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/ensure-probes-different/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: validate-probes status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/ensure-production-matches-staging/.chainsaw-test/policy-ready.yaml b/other/ensure-production-matches-staging/.chainsaw-test/policy-ready.yaml index 8a8fceb5d..5f960e0dd 100644 --- a/other/ensure-production-matches-staging/.chainsaw-test/policy-ready.yaml +++ b/other/ensure-production-matches-staging/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: ensure-production-matches-staging status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/ensure-readonly-hostpath/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/ensure-readonly-hostpath/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 9668eb938..fdc2f51a7 100755 --- a/other/ensure-readonly-hostpath/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/ensure-readonly-hostpath/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: ensure-readonly-hostpath status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/exclude-namespaces-dynamically/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/exclude-namespaces-dynamically/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 451f8163f..d5c98b767 100755 --- a/other/exclude-namespaces-dynamically/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/exclude-namespaces-dynamically/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: exclude-namespaces-example status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/forbid-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/forbid-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b96d2cb6d..6db4eed04 100755 --- a/other/forbid-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/forbid-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: forbid-cpu-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/generate-networkpolicy-existing/.chainsaw-test/policy-ready.yaml b/other/generate-networkpolicy-existing/.chainsaw-test/policy-ready.yaml index 841a8d9c6..ffd14ee7d 100644 --- a/other/generate-networkpolicy-existing/.chainsaw-test/policy-ready.yaml +++ b/other/generate-networkpolicy-existing/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: generate-networkpolicy-existing status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/get-debug-information/.chainsaw-test/policy-ready.yaml b/other/get-debug-information/.chainsaw-test/policy-ready.yaml index 0754ffe2f..ca82aaca0 100644 --- a/other/get-debug-information/.chainsaw-test/policy-ready.yaml +++ b/other/get-debug-information/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: get-debug-data-policy status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/imagepullpolicy-always/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/imagepullpolicy-always/.chainsaw-test/chainsaw-step-01-assert-1.yaml index adbe3c664..c1acbab53 100755 --- a/other/imagepullpolicy-always/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/imagepullpolicy-always/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: imagepullpolicy-always status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/ingress-host-match-tls/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/ingress-host-match-tls/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 1bd8a2c79..b738b5dbb 100755 --- a/other/ingress-host-match-tls/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/ingress-host-match-tls/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: ingress-host-match-tls status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/inject-sidecar-deployment/.chainsaw-test/policy-ready.yaml b/other/inject-sidecar-deployment/.chainsaw-test/policy-ready.yaml index e533267bc..e0e72cd24 100644 --- a/other/inject-sidecar-deployment/.chainsaw-test/policy-ready.yaml +++ b/other/inject-sidecar-deployment/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: inject-sidecar status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/inspect-csr/.chainsaw-test/policy-ready.yaml b/other/inspect-csr/.chainsaw-test/policy-ready.yaml index d465abbb4..28e607dfc 100644 --- a/other/inspect-csr/.chainsaw-test/policy-ready.yaml +++ b/other/inspect-csr/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: inspect-csr status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/limit-configmap-for-sa/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/limit-configmap-for-sa/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a8bab8010..3e921ad78 100755 --- a/other/limit-configmap-for-sa/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/limit-configmap-for-sa/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: limit-configmap-for-sa status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/limit-containers-per-pod/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/limit-containers-per-pod/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 33f4a1654..b089e733d 100755 --- a/other/limit-containers-per-pod/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/limit-containers-per-pod/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: limit-containers-per-pod status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/limit-hostpath-type-pv/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/limit-hostpath-type-pv/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 3f396191b..2c957e6e7 100755 --- a/other/limit-hostpath-type-pv/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/limit-hostpath-type-pv/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: limit-hostpath-type-pv status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/limit-hostpath-vols/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/limit-hostpath-vols/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b5a967f65..95cce276c 100755 --- a/other/limit-hostpath-vols/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/limit-hostpath-vols/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: limit-hostpath-vols status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/memory-requests-equal-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/memory-requests-equal-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b380064bd..077a20e1d 100755 --- a/other/memory-requests-equal-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/memory-requests-equal-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: memory-requests-equal-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/metadata-match-regex/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/metadata-match-regex/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 440d4828f..8381a07c8 100755 --- a/other/metadata-match-regex/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/metadata-match-regex/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: metadata-match-regex status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/nfs-subdir-external-provisioner-storage-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/nfs-subdir-external-provisioner-storage-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 642ae896e..9184d79d3 100755 --- a/other/nfs-subdir-external-provisioner-storage-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/nfs-subdir-external-provisioner-storage-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: nfs-subdir-external-provisioner-storage-path status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/only-trustworthy-registries-set-root/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/only-trustworthy-registries-set-root/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 54e6fce1e..7b6cbe4a9 100755 --- a/other/only-trustworthy-registries-set-root/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/only-trustworthy-registries-set-root/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: only-trustworthy-registries-set-root status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/pdb-maxunavailable-with-deployments/.chainsaw-test/policy-ready.yaml b/other/pdb-maxunavailable-with-deployments/.chainsaw-test/policy-ready.yaml index ad66bfea4..cb0a3ddb4 100644 --- a/other/pdb-maxunavailable-with-deployments/.chainsaw-test/policy-ready.yaml +++ b/other/pdb-maxunavailable-with-deployments/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: pdb-maxunavailable-with-deployments status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/pdb-maxunavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/pdb-maxunavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 5cdc2b1cc..293c82b88 100755 --- a/other/pdb-maxunavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/pdb-maxunavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: pdb-maxunavailable status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/pdb-minavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/pdb-minavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f781cbce7..bbf99fddc 100755 --- a/other/pdb-minavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/pdb-minavailable/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: pdb-minavailable-check status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/policy-for-exceptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/policy-for-exceptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b86d64eb2..97b3403b7 100755 --- a/other/policy-for-exceptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/policy-for-exceptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: policy-for-exceptions status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/prevent-bare-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/prevent-bare-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 34cc2d581..4b2a40e77 100755 --- a/other/prevent-bare-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/prevent-bare-pods/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: prevent-bare-pods status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/prevent-duplicate-hpa/.chainsaw-test/policy-ready.yaml b/other/prevent-duplicate-hpa/.chainsaw-test/policy-ready.yaml index dc9963c0d..a5dd0d042 100644 --- a/other/prevent-duplicate-hpa/.chainsaw-test/policy-ready.yaml +++ b/other/prevent-duplicate-hpa/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: prevent-duplicate-hpa status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/prevent-duplicate-vpa/.chainsaw-test/policy-ready.yaml b/other/prevent-duplicate-vpa/.chainsaw-test/policy-ready.yaml index 58f0031ac..3cda7d5f4 100644 --- a/other/prevent-duplicate-vpa/.chainsaw-test/policy-ready.yaml +++ b/other/prevent-duplicate-vpa/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: prevent-duplicate-vpa status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/replace-image-registry-with-harbor/.chainsaw-test/policy-ready.yaml b/other/replace-image-registry-with-harbor/.chainsaw-test/policy-ready.yaml index f8afe83e1..bb75ef485 100644 --- a/other/replace-image-registry-with-harbor/.chainsaw-test/policy-ready.yaml +++ b/other/replace-image-registry-with-harbor/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: replace-image-registry-with-harbor status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/require-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml index fd8ed662a..263c5c382 100755 --- a/other/require-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-annotations status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-base-image/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-base-image/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 9b92524c0..40047293c 100755 --- a/other/require-base-image/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-base-image/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-base-image status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-container-port-names/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-container-port-names/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f8c44c430..ad3202354 100755 --- a/other/require-container-port-names/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-container-port-names/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-container-port-names status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b4edddc1d..c9d3557aa 100644 --- a/other/require-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-cpu-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-cpu-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-deployments-have-multiple-replicas/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-deployments-have-multiple-replicas/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b272d0794..64c9b55e6 100755 --- a/other/require-deployments-have-multiple-replicas/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-deployments-have-multiple-replicas/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: deployment-has-multiple-replicas status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-emptydir-requests-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-emptydir-requests-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 9aa39646d..7ce8296f7 100755 --- a/other/require-emptydir-requests-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-emptydir-requests-limits/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-emptydir-requests-and-limits status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-image-checksum/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-image-checksum/.chainsaw-test/chainsaw-step-01-assert-1.yaml index c0c44a2a1..e004556f1 100755 --- a/other/require-image-checksum/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-image-checksum/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-image-checksum status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-image-source/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-image-source/.chainsaw-test/chainsaw-step-01-assert-1.yaml index dac18803b..f364f02c5 100755 --- a/other/require-image-source/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-image-source/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-image-source status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-imagepullsecrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-imagepullsecrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 2dea3c73c..cd574d50d 100755 --- a/other/require-imagepullsecrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-imagepullsecrets/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-imagepullsecrets status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-ingress-https/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-ingress-https/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 4fa797722..ba4f64d57 100755 --- a/other/require-ingress-https/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-ingress-https/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-ingress-https status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-netpol/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-netpol/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 4c125b9cf..8f601d225 100755 --- a/other/require-netpol/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-netpol/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-network-policy status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-non-root-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-non-root-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b51263787..637e72bac 100755 --- a/other/require-non-root-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-non-root-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-non-root-groups status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-pdb/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-pdb/.chainsaw-test/chainsaw-step-01-assert-1.yaml index e82f379c7..8c2b4707b 100755 --- a/other/require-pdb/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-pdb/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-pdb status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-qos-burstable/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-qos-burstable/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a8e1ef52a..1f02c7af6 100755 --- a/other/require-qos-burstable/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-qos-burstable/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-qos-burstable status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-qos-guaranteed/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-qos-guaranteed/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 7d014a1b1..08c5d44e0 100755 --- a/other/require-qos-guaranteed/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-qos-guaranteed/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-qos-guaranteed status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-reasonable-pdbs/.chainsaw-test/policy-ready.yaml b/other/require-reasonable-pdbs/.chainsaw-test/policy-ready.yaml index f4e8838e4..3b8e14c81 100755 --- a/other/require-reasonable-pdbs/.chainsaw-test/policy-ready.yaml +++ b/other/require-reasonable-pdbs/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-reasonable-pdbs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-replicas-allow-disruption/.chainsaw-test/policy-ready.yaml b/other/require-replicas-allow-disruption/.chainsaw-test/policy-ready.yaml index 192e86b9e..d690d761f 100644 --- a/other/require-replicas-allow-disruption/.chainsaw-test/policy-ready.yaml +++ b/other/require-replicas-allow-disruption/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-replicas-allow-disruption status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 4b3bb52d1..741ae585b 100755 --- a/other/require-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-storageclass status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-unique-external-dns/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-unique-external-dns/.chainsaw-test/chainsaw-step-01-assert-1.yaml index d7d9c6219..aca3243c3 100755 --- a/other/require-unique-external-dns/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-unique-external-dns/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: unique-external-dns status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-unique-service-selector/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-unique-service-selector/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 9ef98f47d..03c5e82b1 100755 --- a/other/require-unique-service-selector/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-unique-service-selector/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-unique-service-selector status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/require-unique-uid-per-workload/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/require-unique-uid-per-workload/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 440fe2a4c..2ad06cf41 100755 --- a/other/require-unique-uid-per-workload/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/require-unique-uid-per-workload/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-unique-uid-per-workload status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml index d064f3fca..feec6ff3b 100755 --- a/other/restrict-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-annotations/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-annotations status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 6a59fdfc0..25aa46f5b 100755 --- a/other/restrict-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-automount-sa-token status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-binding-clusteradmin/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-binding-clusteradmin/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 708cbe548..77ed2b43c 100755 --- a/other/restrict-binding-clusteradmin/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-binding-clusteradmin/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-binding-clusteradmin status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-binding-system-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-binding-system-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a49f3c16e..3fe7b760e 100755 --- a/other/restrict-binding-system-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-binding-system-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-binding-system-groups status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-clusterrole-csr/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-clusterrole-csr/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 2e1ce717b..a65f0b176 100644 --- a/other/restrict-clusterrole-csr/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-clusterrole-csr/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-clusterrole-csr status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-clusterrole-mutating-validating-admission-webhooks/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-clusterrole-mutating-validating-admission-webhooks/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 5f5432cb0..a156276bd 100644 --- a/other/restrict-clusterrole-mutating-validating-admission-webhooks/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-clusterrole-mutating-validating-admission-webhooks/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-clusterrole-mutating-validating-admission-webhooks status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-clusterrole-nodesproxy/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-clusterrole-nodesproxy/.chainsaw-test/chainsaw-step-01-assert-1.yaml index fc59b9caa..fc7cb1b91 100755 --- a/other/restrict-clusterrole-nodesproxy/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-clusterrole-nodesproxy/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-clusterrole-nodesproxy status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-controlplane-scheduling/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-controlplane-scheduling/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 422e25cb6..01387a8b1 100755 --- a/other/restrict-controlplane-scheduling/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-controlplane-scheduling/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-controlplane-scheduling status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml b/other/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml index 9481b23f2..5293df1eb 100644 --- a/other/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml +++ b/other/restrict-deprecated-registry/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: restrict-deprecated-registry status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/restrict-escalation-verbs-roles/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-escalation-verbs-roles/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a79fd3397..0d89a1527 100755 --- a/other/restrict-escalation-verbs-roles/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-escalation-verbs-roles/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-escalation-verbs-roles status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-ingress-classes/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-ingress-classes/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b15ee6b98..6a1a8d9b8 100755 --- a/other/restrict-ingress-classes/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-ingress-classes/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-ingress-classes status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-ingress-defaultbackend/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-ingress-defaultbackend/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 85c3af1c1..649bb41f9 100755 --- a/other/restrict-ingress-defaultbackend/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-ingress-defaultbackend/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-ingress-defaultbackend status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-ingress-host/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-ingress-host/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 2b9230dd4..0daa114c0 100755 --- a/other/restrict-ingress-host/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-ingress-host/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: unique-ingress-host status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-ingress-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-ingress-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f85e022ab..c831fd9a5 100755 --- a/other/restrict-ingress-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-ingress-wildcard/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-ingress-wildcard status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-loadbalancer/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-loadbalancer/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a487741b5..e88dc49d3 100755 --- a/other/restrict-loadbalancer/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-loadbalancer/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: no-loadbalancer-service status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-networkpolicy-empty-podselector/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-networkpolicy-empty-podselector/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 08739c249..e11e07dd3 100755 --- a/other/restrict-networkpolicy-empty-podselector/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-networkpolicy-empty-podselector/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-networkpolicy-empty-podselector status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-node-affinity/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-node-affinity/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 8aac3db00..0108affce 100755 --- a/other/restrict-node-affinity/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-node-affinity/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-node-affinity status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-node-selection/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-node-selection/.chainsaw-test/chainsaw-step-01-assert-1.yaml index b8c04eaa7..fdf0703cc 100755 --- a/other/restrict-node-selection/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-node-selection/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-node-selection status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 92b7018c8..9f02c6ee0 100755 --- a/other/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-pod-controller-serviceaccount-updates/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-pod-controller-serviceaccount-updates status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-sa-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-sa-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f6f90dfa1..5008f0284 100644 --- a/other/restrict-sa-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-sa-automount-sa-token/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-sa-automount-sa-token status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-secret-role-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-secret-role-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f09ecb57a..acb40c325 100755 --- a/other/restrict-secret-role-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-secret-role-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-secret-role-verbs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-secrets-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-secrets-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 8afc2f280..885f95c16 100755 --- a/other/restrict-secrets-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-secrets-by-label/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-secrets-by-label status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-secrets-by-name/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-secrets-by-name/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 1dfdeb90d..3e186f629 100755 --- a/other/restrict-secrets-by-name/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-secrets-by-name/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-secrets-by-name status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-service-port-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-service-port-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 8f2584462..07257ae91 100755 --- a/other/restrict-service-port-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-service-port-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-service-port-range status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 671726afd..8dd985a78 100755 --- a/other/restrict-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-storageclass/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-storageclass status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-usergroup-fsgroup-id/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-usergroup-fsgroup-id/.chainsaw-test/chainsaw-step-01-assert-1.yaml index ec8e34add..f0db745d7 100755 --- a/other/restrict-usergroup-fsgroup-id/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-usergroup-fsgroup-id/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: validate-userid-groupid-fsgroup status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-wildcard-resources/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-wildcard-resources/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f8b1749c0..f00b31b9c 100755 --- a/other/restrict-wildcard-resources/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-wildcard-resources/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-wildcard-resources status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/restrict-wildcard-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/restrict-wildcard-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml index fe34e2e7e..68363af9d 100755 --- a/other/restrict-wildcard-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/restrict-wildcard-verbs/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-wildcard-verbs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/scale-deployment-zero/.chainsaw-test/policy-ready.yaml b/other/scale-deployment-zero/.chainsaw-test/policy-ready.yaml index 07da4412e..a5890b2af 100644 --- a/other/scale-deployment-zero/.chainsaw-test/policy-ready.yaml +++ b/other/scale-deployment-zero/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: scale-deployment-zero status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/spread-pods-across-topology/.chainsaw-test/policy-ready.yaml b/other/spread-pods-across-topology/.chainsaw-test/policy-ready.yaml index 351e8f691..e2ac9e7c7 100644 --- a/other/spread-pods-across-topology/.chainsaw-test/policy-ready.yaml +++ b/other/spread-pods-across-topology/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: spread-pods status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/sync-secrets/.chainsaw-test/policy-ready.yaml b/other/sync-secrets/.chainsaw-test/policy-ready.yaml index ba880653c..d284cd3e0 100644 --- a/other/sync-secrets/.chainsaw-test/policy-ready.yaml +++ b/other/sync-secrets/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: sync-secrets status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/topologyspreadconstraints-policy/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/topologyspreadconstraints-policy/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 080e44efe..42ae17e55 100755 --- a/other/topologyspreadconstraints-policy/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/topologyspreadconstraints-policy/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: topologyspreadconstraints-policy status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/unique-ingress-host-and-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/unique-ingress-host-and-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a42b5ae27..dbf46af8a 100755 --- a/other/unique-ingress-host-and-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/unique-ingress-host-and-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: unique-ingress-host-and-path status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/unique-ingress-paths/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/other/unique-ingress-paths/.chainsaw-test/chainsaw-step-01-assert-1.yaml index c2b93df17..faa8b2142 100755 --- a/other/unique-ingress-paths/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/other/unique-ingress-paths/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: unique-ingress-path status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/other/update-image-tag/.chainsaw-test/policy-ready.yaml b/other/update-image-tag/.chainsaw-test/policy-ready.yaml index c1e1c3f8d..9f7da58fa 100644 --- a/other/update-image-tag/.chainsaw-test/policy-ready.yaml +++ b/other/update-image-tag/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: update-image-tag status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/other/verify-vpa-target/.chainsaw-test/policy-ready.yaml b/other/verify-vpa-target/.chainsaw-test/policy-ready.yaml index acbf54602..dff10bd82 100644 --- a/other/verify-vpa-target/.chainsaw-test/policy-ready.yaml +++ b/other/verify-vpa-target/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: verify-vpa-target status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/pod-security-cel/baseline/disallow-capabilities/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-capabilities/.chainsaw-test/policy-ready.yaml index 5c1ca4056..ab17d56d2 100755 --- a/pod-security-cel/baseline/disallow-capabilities/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-capabilities/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-capabilities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-host-namespaces/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-host-namespaces/.chainsaw-test/policy-ready.yaml index 728930b26..8e1525f8e 100755 --- a/pod-security-cel/baseline/disallow-host-namespaces/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-host-namespaces/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-namespaces status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-host-path/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-host-path/.chainsaw-test/policy-ready.yaml index 5bc41e9b1..2093a5bc4 100755 --- a/pod-security-cel/baseline/disallow-host-path/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-host-path/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-path status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-host-ports-range/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-host-ports-range/.chainsaw-test/policy-ready.yaml index f4e6012b3..68c1e2e62 100755 --- a/pod-security-cel/baseline/disallow-host-ports-range/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-host-ports-range/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-ports-range status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-host-ports/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-host-ports/.chainsaw-test/policy-ready.yaml index 7630931c6..46cf00260 100755 --- a/pod-security-cel/baseline/disallow-host-ports/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-host-ports/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-ports status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-host-process/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-host-process/.chainsaw-test/policy-ready.yaml index ddce453da..24ff7dd20 100755 --- a/pod-security-cel/baseline/disallow-host-process/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-host-process/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-process status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-privileged-containers/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-privileged-containers/.chainsaw-test/policy-ready.yaml index cc13a32d2..deead22e1 100755 --- a/pod-security-cel/baseline/disallow-privileged-containers/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-privileged-containers/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-privileged-containers status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml index 87ef3bbcb..9fafc59be 100755 --- a/pod-security-cel/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-proc-mount status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/disallow-selinux/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/disallow-selinux/.chainsaw-test/policy-ready.yaml index 1971822e2..a4b562256 100755 --- a/pod-security-cel/baseline/disallow-selinux/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/disallow-selinux/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-selinux status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/restrict-seccomp/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/restrict-seccomp/.chainsaw-test/policy-ready.yaml index 92459aedf..03da26034 100755 --- a/pod-security-cel/baseline/restrict-seccomp/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/restrict-seccomp/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-seccomp status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/baseline/restrict-sysctls/.chainsaw-test/policy-ready.yaml b/pod-security-cel/baseline/restrict-sysctls/.chainsaw-test/policy-ready.yaml index a7afea7ef..cc9ad507f 100755 --- a/pod-security-cel/baseline/restrict-sysctls/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/baseline/restrict-sysctls/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-sysctls status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/restricted/disallow-capabilities-strict/.chainsaw-test/policy-ready.yaml b/pod-security-cel/restricted/disallow-capabilities-strict/.chainsaw-test/policy-ready.yaml index a7bd6b8fa..02a811690 100755 --- a/pod-security-cel/restricted/disallow-capabilities-strict/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/restricted/disallow-capabilities-strict/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-capabilities-strict status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/restricted/disallow-privilege-escalation/.chainsaw-test/policy-ready.yaml b/pod-security-cel/restricted/disallow-privilege-escalation/.chainsaw-test/policy-ready.yaml index 30a5747c2..b8dc40c39 100755 --- a/pod-security-cel/restricted/disallow-privilege-escalation/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/restricted/disallow-privilege-escalation/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-privilege-escalation status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/restricted/require-run-as-non-root-user/.chainsaw-test/policy-ready.yaml b/pod-security-cel/restricted/require-run-as-non-root-user/.chainsaw-test/policy-ready.yaml index 3a15a8755..6a5138508 100755 --- a/pod-security-cel/restricted/require-run-as-non-root-user/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/restricted/require-run-as-non-root-user/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-run-as-non-root-user status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/restricted/require-run-as-nonroot/.chainsaw-test/policy-ready.yaml b/pod-security-cel/restricted/require-run-as-nonroot/.chainsaw-test/policy-ready.yaml index d97abc312..ce7c2fd4e 100755 --- a/pod-security-cel/restricted/require-run-as-nonroot/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/restricted/require-run-as-nonroot/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-run-as-nonroot status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/restricted/restrict-seccomp-strict/.chainsaw-test/policy-ready.yaml b/pod-security-cel/restricted/restrict-seccomp-strict/.chainsaw-test/policy-ready.yaml index db4a4dc3a..cdb6f45bc 100755 --- a/pod-security-cel/restricted/restrict-seccomp-strict/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/restricted/restrict-seccomp-strict/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-seccomp-strict status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security-cel/restricted/restrict-volume-types/.chainsaw-test/policy-ready.yaml b/pod-security-cel/restricted/restrict-volume-types/.chainsaw-test/policy-ready.yaml index 417239b4b..9ced74a13 100755 --- a/pod-security-cel/restricted/restrict-volume-types/.chainsaw-test/policy-ready.yaml +++ b/pod-security-cel/restricted/restrict-volume-types/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-volume-types status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 5c1ca4056..ab17d56d2 100755 --- a/pod-security/baseline/disallow-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-capabilities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-host-namespaces/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-host-namespaces/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 728930b26..8e1525f8e 100755 --- a/pod-security/baseline/disallow-host-namespaces/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-host-namespaces/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-namespaces status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-host-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-host-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 5bc41e9b1..2093a5bc4 100755 --- a/pod-security/baseline/disallow-host-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-host-path/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-path status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-host-ports-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-host-ports-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f4e6012b3..68c1e2e62 100755 --- a/pod-security/baseline/disallow-host-ports-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-host-ports-range/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-ports-range status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-host-ports/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-host-ports/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 7630931c6..46cf00260 100755 --- a/pod-security/baseline/disallow-host-ports/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-host-ports/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-ports status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-host-process/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-host-process/.chainsaw-test/chainsaw-step-01-assert-1.yaml index ddce453da..24ff7dd20 100755 --- a/pod-security/baseline/disallow-host-process/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-host-process/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-host-process status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-privileged-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-privileged-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml index cc13a32d2..deead22e1 100755 --- a/pod-security/baseline/disallow-privileged-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-privileged-containers/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-privileged-containers status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml b/pod-security/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml index 87ef3bbcb..9fafc59be 100755 --- a/pod-security/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml +++ b/pod-security/baseline/disallow-proc-mount/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-proc-mount status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/disallow-selinux/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/disallow-selinux/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 1971822e2..a4b562256 100755 --- a/pod-security/baseline/disallow-selinux/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/disallow-selinux/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-selinux status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/restrict-apparmor-profiles/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/restrict-apparmor-profiles/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 7c5650ac0..f4778fa79 100755 --- a/pod-security/baseline/restrict-apparmor-profiles/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/restrict-apparmor-profiles/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-apparmor-profiles status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/restrict-seccomp/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/restrict-seccomp/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 92459aedf..03da26034 100755 --- a/pod-security/baseline/restrict-seccomp/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/restrict-seccomp/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-seccomp status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/baseline/restrict-sysctls/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/baseline/restrict-sysctls/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a7afea7ef..cc9ad507f 100755 --- a/pod-security/baseline/restrict-sysctls/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/baseline/restrict-sysctls/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-sysctls status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/restricted/disallow-capabilities-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/restricted/disallow-capabilities-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml index a7bd6b8fa..02a811690 100755 --- a/pod-security/restricted/disallow-capabilities-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/restricted/disallow-capabilities-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-capabilities-strict status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/restricted/disallow-privilege-escalation/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/restricted/disallow-privilege-escalation/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 30a5747c2..b8dc40c39 100755 --- a/pod-security/restricted/disallow-privilege-escalation/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/restricted/disallow-privilege-escalation/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-privilege-escalation status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/restricted/require-run-as-non-root-user/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/restricted/require-run-as-non-root-user/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 3a15a8755..6a5138508 100755 --- a/pod-security/restricted/require-run-as-non-root-user/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/restricted/require-run-as-non-root-user/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-run-as-non-root-user status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/restricted/require-run-as-nonroot/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/restricted/require-run-as-nonroot/.chainsaw-test/chainsaw-step-01-assert-1.yaml index d97abc312..ce7c2fd4e 100755 --- a/pod-security/restricted/require-run-as-nonroot/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/restricted/require-run-as-nonroot/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-run-as-nonroot status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/restricted/restrict-seccomp-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/restricted/restrict-seccomp-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml index db4a4dc3a..cdb6f45bc 100755 --- a/pod-security/restricted/restrict-seccomp-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/restricted/restrict-seccomp-strict/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-seccomp-strict status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/restricted/restrict-volume-types/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/restricted/restrict-volume-types/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 417239b4b..9ced74a13 100755 --- a/pod-security/restricted/restrict-volume-types/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/restricted/restrict-volume-types/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: restrict-volume-types status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/pod-security/subrule/restricted/restricted-exclude-capabilities/.chainsaw-test/policy-ready.yaml b/pod-security/subrule/restricted/restricted-exclude-capabilities/.chainsaw-test/policy-ready.yaml index ec91895a4..6fb06a0ef 100644 --- a/pod-security/subrule/restricted/restricted-exclude-capabilities/.chainsaw-test/policy-ready.yaml +++ b/pod-security/subrule/restricted/restricted-exclude-capabilities/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: podsecurity-subrule-restricted-capabilities status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/pod-security/subrule/restricted/restricted-exclude-seccomp/.chainsaw-test/policy-ready.yaml b/pod-security/subrule/restricted/restricted-exclude-seccomp/.chainsaw-test/policy-ready.yaml index 875efe127..876cd8bb0 100644 --- a/pod-security/subrule/restricted/restricted-exclude-seccomp/.chainsaw-test/policy-ready.yaml +++ b/pod-security/subrule/restricted/restricted-exclude-seccomp/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: podsecurity-subrule-restricted-seccomp status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/pod-security/subrule/restricted/restricted-latest/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/pod-security/subrule/restricted/restricted-latest/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 03e743584..aad179a5b 100755 --- a/pod-security/subrule/restricted/restricted-latest/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/pod-security/subrule/restricted/restricted-latest/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: podsecurity-subrule-restricted status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psa-cel/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml b/psa-cel/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml index cfb6ab67a..b9a1d6b21 100644 --- a/psa-cel/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml +++ b/psa-cel/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml @@ -3,7 +3,11 @@ kind: ClusterPolicy metadata: name: add-psa-namespace-reporting status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psa-cel/deny-privileged-profile/.chainsaw-test/policy-ready.yaml b/psa-cel/deny-privileged-profile/.chainsaw-test/policy-ready.yaml index 93dfa2f2d..3ea142941 100755 --- a/psa-cel/deny-privileged-profile/.chainsaw-test/policy-ready.yaml +++ b/psa-cel/deny-privileged-profile/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: deny-privileged-profile status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psa/add-privileged-existing-namespaces/.chainsaw-test/policy-ready.yaml b/psa/add-privileged-existing-namespaces/.chainsaw-test/policy-ready.yaml index 01867dc1a..46908e117 100644 --- a/psa/add-privileged-existing-namespaces/.chainsaw-test/policy-ready.yaml +++ b/psa/add-privileged-existing-namespaces/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,7 @@ kind: ClusterPolicy metadata: name: add-privileged-existing-namespaces status: - ready: true \ No newline at end of file + conditions: + - reason: Succeeded + status: "True" + type: Ready diff --git a/psa/add-psa-labels/.chainsaw-test/policy-ready.yaml b/psa/add-psa-labels/.chainsaw-test/policy-ready.yaml index 622a18a59..2cf0d32e9 100644 --- a/psa/add-psa-labels/.chainsaw-test/policy-ready.yaml +++ b/psa/add-psa-labels/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: add-psa-labels status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psa/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml b/psa/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml index cfb6ab67a..b9a1d6b21 100644 --- a/psa/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml +++ b/psa/add-psa-namespace-reporting/.chainsaw-test/policy-ready.yaml @@ -3,7 +3,11 @@ kind: ClusterPolicy metadata: name: add-psa-namespace-reporting status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psa/deny-privileged-profile/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/psa/deny-privileged-profile/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 93dfa2f2d..3ea142941 100755 --- a/psa/deny-privileged-profile/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/psa/deny-privileged-profile/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: deny-privileged-profile status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psp-migration-cel/check-supplemental-groups/.chainsaw-test/policy-ready.yaml b/psp-migration-cel/check-supplemental-groups/.chainsaw-test/policy-ready.yaml index d68e9bb1c..7d430ec06 100755 --- a/psp-migration-cel/check-supplemental-groups/.chainsaw-test/policy-ready.yaml +++ b/psp-migration-cel/check-supplemental-groups/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: psp-check-supplemental-groups status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psp-migration-cel/restrict-adding-capabilities/.chainsaw-test/policy-ready.yaml b/psp-migration-cel/restrict-adding-capabilities/.chainsaw-test/policy-ready.yaml index e870f077e..98bd55441 100755 --- a/psp-migration-cel/restrict-adding-capabilities/.chainsaw-test/policy-ready.yaml +++ b/psp-migration-cel/restrict-adding-capabilities/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: psp-restrict-adding-capabilities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psp-migration/check-supplemental-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/psp-migration/check-supplemental-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml index d68e9bb1c..7d430ec06 100755 --- a/psp-migration/check-supplemental-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/psp-migration/check-supplemental-groups/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: psp-check-supplemental-groups status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/psp-migration/restrict-adding-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/psp-migration/restrict-adding-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml index e870f077e..98bd55441 100755 --- a/psp-migration/restrict-adding-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/psp-migration/restrict-adding-capabilities/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: psp-restrict-adding-capabilities status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/tekton-cel/block-tekton-task-runs/.chainsaw-test/policy-ready.yaml b/tekton-cel/block-tekton-task-runs/.chainsaw-test/policy-ready.yaml index ca24ce66c..156082c75 100755 --- a/tekton-cel/block-tekton-task-runs/.chainsaw-test/policy-ready.yaml +++ b/tekton-cel/block-tekton-task-runs/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-tekton-task-runs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/tekton-cel/require-tekton-bundle/.chainsaw-test/policy-ready.yaml b/tekton-cel/require-tekton-bundle/.chainsaw-test/policy-ready.yaml index fe3d051fb..7def58fad 100755 --- a/tekton-cel/require-tekton-bundle/.chainsaw-test/policy-ready.yaml +++ b/tekton-cel/require-tekton-bundle/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-tekton-bundle status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/tekton/block-tekton-task-runs/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/tekton/block-tekton-task-runs/.chainsaw-test/chainsaw-step-01-assert-1.yaml index ca24ce66c..156082c75 100755 --- a/tekton/block-tekton-task-runs/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/tekton/block-tekton-task-runs/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-tekton-task-runs status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/tekton/require-tekton-bundle/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/tekton/require-tekton-bundle/.chainsaw-test/chainsaw-step-01-assert-1.yaml index fe3d051fb..7def58fad 100755 --- a/tekton/require-tekton-bundle/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/tekton/require-tekton-bundle/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-tekton-bundle status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/tekton/require-tekton-namespace-pipelinerun/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/tekton/require-tekton-namespace-pipelinerun/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 42c3f3219..84a9f9ace 100755 --- a/tekton/require-tekton-namespace-pipelinerun/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/tekton/require-tekton-namespace-pipelinerun/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-tekton-namespace-pipelinerun status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/traefik-cel/disallow-default-tlsoptions/.chainsaw-test/policy-ready.yaml b/traefik-cel/disallow-default-tlsoptions/.chainsaw-test/policy-ready.yaml index f3e37c449..b0025f795 100755 --- a/traefik-cel/disallow-default-tlsoptions/.chainsaw-test/policy-ready.yaml +++ b/traefik-cel/disallow-default-tlsoptions/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-default-tlsoptions status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/traefik/disallow-default-tlsoptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/traefik/disallow-default-tlsoptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml index f3e37c449..b0025f795 100755 --- a/traefik/disallow-default-tlsoptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/traefik/disallow-default-tlsoptions/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: disallow-default-tlsoptions status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/velero-cel/block-velero-restore/.chainsaw-test/policy-ready.yaml b/velero-cel/block-velero-restore/.chainsaw-test/policy-ready.yaml index df978e12d..2cdf18026 100755 --- a/velero-cel/block-velero-restore/.chainsaw-test/policy-ready.yaml +++ b/velero-cel/block-velero-restore/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-velero-restore status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/velero-cel/validate-cron-schedule/.chainsaw-test/policy-ready.yaml b/velero-cel/validate-cron-schedule/.chainsaw-test/policy-ready.yaml index 11afe59c1..26087f9ce 100755 --- a/velero-cel/validate-cron-schedule/.chainsaw-test/policy-ready.yaml +++ b/velero-cel/validate-cron-schedule/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: validate-cron-schedule status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/velero/backup-all-volumes/.chainsaw-test/policy-ready.yaml b/velero/backup-all-volumes/.chainsaw-test/policy-ready.yaml index b8ce12303..00b968680 100644 --- a/velero/backup-all-volumes/.chainsaw-test/policy-ready.yaml +++ b/velero/backup-all-volumes/.chainsaw-test/policy-ready.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: backup-all-volumes status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/velero/block-velero-restore/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/velero/block-velero-restore/.chainsaw-test/chainsaw-step-01-assert-1.yaml index df978e12d..2cdf18026 100755 --- a/velero/block-velero-restore/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/velero/block-velero-restore/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: block-velero-restore status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/velero/validate-cron-schedule/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/velero/validate-cron-schedule/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 11afe59c1..26087f9ce 100755 --- a/velero/validate-cron-schedule/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/velero/validate-cron-schedule/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: validate-cron-schedule status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready + diff --git a/windows-security/require-run-as-containeruser/.chainsaw-test/chainsaw-step-01-assert-1.yaml b/windows-security/require-run-as-containeruser/.chainsaw-test/chainsaw-step-01-assert-1.yaml index 9fb95c569..9815bd06a 100755 --- a/windows-security/require-run-as-containeruser/.chainsaw-test/chainsaw-step-01-assert-1.yaml +++ b/windows-security/require-run-as-containeruser/.chainsaw-test/chainsaw-step-01-assert-1.yaml @@ -3,4 +3,8 @@ kind: ClusterPolicy metadata: name: require-run-as-containeruser status: - ready: true + conditions: + - reason: Succeeded + status: "True" + type: Ready +