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