github.com/oam-dev/kubevela@v1.9.11/references/docgen/def-doc/policy/apply-once.eg.md (about)

     1  It's generally used in [one time delivery only without continuous management](https://kubevela.io/docs/end-user/policies/apply-once) scenario.
     2  
     3  ```yaml
     4  apiVersion: core.oam.dev/v1beta1
     5  kind: Application
     6  metadata:
     7    name: apply-once-app
     8  spec:
     9    components:
    10      - name: hello-world
    11        type: webservice
    12        properties:
    13          image: oamdev/hello-world
    14        traits:
    15          - type: scaler
    16            properties:
    17              replicas: 1
    18    policies:
    19      - name: apply-once
    20        type: apply-once
    21        properties:
    22          enable: true
    23  ```