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

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: Application
     3  metadata:
     4    name: apply-once-app
     5  spec:
     6    components:
     7      - name: hello-world
     8        type: webservice
     9        properties:
    10          image: crccheck/hello-world
    11        traits:
    12          - type: scaler
    13            properties:
    14              replicas: 1
    15    policies:
    16      - name: apply-once
    17        type: apply-once
    18        properties:
    19          enable: false