github.com/oam-dev/kubevela@v1.9.11/test/e2e-multicluster-test/testdata/app/app-anonymous-policies.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: test
     5  spec:
     6    components:
     7      - type: webservice
     8        name: test
     9        properties:
    10          image: nginx
    11    policies:
    12      - type: topology
    13        properties:
    14          clusters: ["cluster-worker"]
    15      - type: override
    16        properties:
    17          components:
    18            - traits:
    19                - type: scaler
    20                  properties:
    21                    replicas: 0