github.com/verrazzano/verrazzano@v1.7.0/application-operator/mcagent/testdata/mc-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: clusters.verrazzano.io/v1alpha1
     4  kind: MultiClusterComponent
     5  metadata:
     6    name: hello-component
     7    namespace: unit-mcappconfig-namespace
     8    labels:
     9      label1: test1
    10  spec:
    11    template:
    12      spec:
    13        workload:
    14          apiVersion: oam.verrazzano.io/v1alpha1
    15          kind: VerrazzanoHelidonWorkload
    16          metadata:
    17            name: hello-helidon-workload
    18            labels:
    19              app: hello-helidon
    20          spec:
    21            deploymentTemplate:
    22              metadata:
    23                name: hello-helidon-deployment
    24              podSpec:
    25                containers:
    26                  - name: hello-helidon-container
    27                    image: "ghcr.io/verrazzano/example-helidon-greet-app-v1:1.0.0-1-20211215184123-0a1b633"
    28                    ports:
    29                      - containerPort: 8080
    30                        name: http