github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/helidon_workload_multi_container.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: oam.verrazzano.io/v1alpha1
     4  kind: VerrazzanoHelidonWorkload
     5  metadata:
     6    name: ##WORKLOAD_NAME##
     7    namespace: ##WORKLOAD_NAMESPACE##
     8    labels:
     9      app.oam.dev/name: ##APPCONF_NAME##
    10      app.oam.dev/component: ##COMPONENT_NAME##
    11  spec:
    12    deploymentTemplate:
    13      metadata:
    14        name: ##DEPLOYMENT_NAME##
    15      podSpec:
    16        containers:
    17          - name: ##CONTAINER_NAME_1##
    18            image: ##CONTAINER_IMAGE_1##
    19            ports:
    20              - name: ##CONTAINER_PORT_NAME_1##
    21                containerPort: ##CONTAINER_PORT_NUMBER_1##
    22          - name: ##CONTAINER_NAME_2##
    23            image: ##CONTAINER_IMAGE_2##
    24            ports:
    25              - name: ##CONTAINER_PORT_NAME_2##
    26                containerPort: ##CONTAINER_PORT_NUMBER_2##