github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/helidon_workload_instance.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    uid: {{.WORKLOAD_UID}}
     9    labels:
    10      app.oam.dev/name: {{.APPCONF_NAME}}
    11      app.oam.dev/component: {{.COMPONENT_NAME}}
    12  spec:
    13    deploymentTemplate:
    14      metadata:
    15        name: {{.DEPLOYMENT_NAME}}
    16      podSpec:
    17        containers:
    18          - name: {{.CONTAINER_NAME}}
    19            image: {{.CONTAINER_IMAGE}}
    20            ports:
    21              - name: {{.CONTAINER_PORT_NAME}}
    22                containerPort: {{.CONTAINER_PORT_NUMBER}}