apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  name: nginx-test-scaling-policy
status:
  conditions:
  - reason: Succeeded
    status: "True"
    type: Ready
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: nginx-test
  name: nginx-test
  namespace: test-validate
status:
  replicas: 2
