github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/appconf_with_ingress.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: ApplicationConfiguration 5 metadata: 6 name: {{.APPCONF_NAME}} 7 namespace: {{.APPCONF_NAMESPACE}} 8 uid: {{if .APPCONF_UID}}{{.APPCONF_UID}}{{else}}test-appconf-uid{{end}} 9 spec: 10 components: 11 - componentName: {{.COMPONENT_NAME}} 12 traits: 13 - trait: 14 apiVersion: oam.verrazzano.io/v1alpha1 15 kind: IngressTrait 16 spec: 17 rules: 18 - paths: 19 - path: {{if .INGRESS_TRAIT_PATH}}"{{.INGRESS_TRAIT_PATH}}"{{else}}"/ingress-trait-path"{{end}} 20 pathType: Prefix