github.com/verrazzano/verrazzano@v1.7.0/application-operator/mcagent/testdata/hello-component.yaml (about)

     1  # Copyright (c) 2021, 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  apiVersion: core.oam.dev/v1alpha2
     4  kind: Component
     5  metadata:
     6    name: hello-component
     7    namespace: unit-mcappconfig-namespace
     8    labels:
     9      label1: test1
    10  spec:
    11    workload:
    12      apiVersion: oam.verrazzano.io/v1alpha1
    13      kind: VerrazzanoHelidonWorkload
    14      metadata:
    15        name: hello-helidon-workload
    16        labels:
    17          app: hello-helidon
    18      spec:
    19        deploymentTemplate:
    20          metadata:
    21            name: hello-helidon-deployment
    22          podSpec:
    23            containers:
    24              - name: hello-helidon-container
    25                image: "ghcr.io/verrazzano/example-helidon-greet-app-v1:1.0.0-1-20211215184123-0a1b633"
    26                ports:
    27                  - containerPort: 8080
    28                    name: http