github.com/verrazzano/verrazzano@v1.7.1/application-operator/testdata/templates/helidon_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: core.oam.dev/v1alpha2 4 kind: Component 5 metadata: 6 name: {{.COMPONENT_NAME}} 7 namespace: {{.COMPONENT_NAMESPACE}} 8 spec: 9 workload: 10 apiVersion: oam.verrazzano.io/v1alpha1 11 kind: VerrazzanoHelidonWorkload 12 metadata: 13 name: {{.WORKLOAD_NAME}} 14 spec: 15 containers: 16 - image: {{if .CONTAINER_IMAGE}}{{.CONTAINER_IMAGE}}{{else}}test-container-image{{end}} 17 name: {{if .CONTAINER_NAME}}{{.CONTAINER_NAME}}{{else}}test-container-name{{end}} 18 ports: 19 - containerPort: {{if .CONTAINER_PORT_NUMBER}}{{.CONTAINER_PORT_NUMBER}}{{else}}777{{end}} 20 name: {{if .CONTAINER_PORT_NAME}}{{.CONTAINER_PORT_NAME}}{{else}}test-container-port-name{{end}}