github.com/oam-dev/kubevela@v1.9.11/e2e/plugin/testdata/fake-workload.yaml (about)

     1  # Code generated by KubeVela templates. DO NOT EDIT.
     2  apiVersion: core.oam.dev/v1beta1
     3  kind: ComponentDefinition
     4  metadata:
     5    name: fake-workload
     6    namespace: vela-system
     7    annotations:
     8      definition.oam.dev/description: "Describes long-running, scalable, containerized services that have a stable network endpoint to receive external network traffic from customers. It was implemented by OpenKruise Cloneset."
     9  spec:
    10    schematic:
    11      cue:
    12        template: |
    13          output: {
    14              apiVersion: "v1"
    15              kind:       "foo"
    16              metadata: labels: {
    17                "app.oam.dev/component": context.name
    18              }
    19          }