apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: deny-scale-deployment
status:
  conditions:
    - reason: Succeeded
      status: "True"
      type: Ready
---
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: deny-scale-statefulset
status:
  conditions:
    - reason: Succeeded
      status: "True"
      type: Ready
