github.com/verrazzano/verrazzano@v1.7.1/tests/testdata/test-applications/coherence/hello-coherence/hello-coherence-mc-app.yaml (about)

     1  # Copyright (c) 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  
     4  apiVersion: clusters.verrazzano.io/v1alpha1
     5  kind: MultiClusterApplicationConfiguration
     6  metadata:
     7    name: hello-appconf
     8  spec:
     9    template:
    10      metadata:
    11        annotations:
    12          version: v1.0.0
    13      spec:
    14        components:
    15          - componentName: hello-coherence
    16            traits:
    17              - trait:
    18                  apiVersion: oam.verrazzano.io/v1alpha1
    19                  kind: IngressTrait
    20                  metadata:
    21                    name: hellocoh-ingress
    22                  spec:
    23                    rules:
    24                      - paths:
    25                          - path: "/catalogue"
    26                            pathType: Prefix
    27              - trait:
    28                  apiVersion: oam.verrazzano.io/v1alpha1
    29                  kind: MetricsTrait
    30                  metadata:
    31                    name: hellocoh-metrics
    32                  spec:
    33                    ports:
    34                      - port: 7001
    35                      - port: 9612
    36    placement:
    37      clusters:
    38        - name: managed1
    39