github.com/verrazzano/verrazzano@v1.7.1/application-operator/controllers/clusters/multiclusterapplicationconfiguration/testdata/hello-oam-appconfig-existing.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: hello-helidon
     7    namespace: hello-helidon
     8    annotations:
     9      version: v1.0.0
    10      description: "Hello Helidon application"
    11  spec:
    12    components:
    13      - componentName: hello-helidon-component
    14        traits:
    15          - trait:
    16              apiVersion: oam.verrazzano.io/v1alpha1
    17              kind: MetricsTrait
    18              spec:
    19                scraper: verrazzano-system/vmi-system-prometheus-0
    20          - trait:
    21              apiVersion: oam.verrazzano.io/v1alpha1
    22              kind: IngressTrait
    23              metadata:
    24                name: hello-helidon-ingress
    25              spec:
    26                rules:
    27                  - paths:
    28                      - path: "/greet"
    29                        pathType: Prefix
    30