github.com/verrazzano/verrazzano@v1.7.1/application-operator/controllers/clusters/multiclustercomponent/testdata/hello-oam-comp-existing.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: unit-mccomp
     7    namespace: unit-mccomp-namespace
     8  spec:
     9    workload:
    10      apiVersion: core.oam.dev/v1alpha2
    11      kind: ContainerizedWorkload
    12      metadata:
    13        name: hello-existing-workload
    14        namespace: hello
    15        labels:
    16          app: hello-helidon
    17      spec:
    18        containers:
    19          - name: hello-existing
    20            image: ghcr.io/oracle/oraclelinux:7-slim
    21            args:
    22              - /bin/sh
    23              - -c
    24              - echo 'sleeping'; sleep 50000;
    25            ports:
    26              - containerPort: 8080
    27                name: http
    28