github.com/verrazzano/verrazzano@v1.7.1/examples/multicluster/todo-list/mc-todo-list-application.yaml (about) 1 # Copyright (c) 2020, 2021, 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: todo-appconf 8 namespace: mc-todo-list 9 spec: 10 template: 11 metadata: 12 annotations: 13 version: v1.0.0 14 description: "ToDo List example application" 15 spec: 16 components: 17 - componentName: todo-domain 18 traits: 19 - trait: 20 apiVersion: oam.verrazzano.io/v1alpha1 21 kind: MetricsTrait 22 spec: 23 scraper: verrazzano-system/vmi-system-prometheus-0 24 - trait: 25 apiVersion: oam.verrazzano.io/v1alpha1 26 kind: IngressTrait 27 spec: 28 rules: 29 - paths: 30 - path: "/todo" 31 pathType: Prefix 32 - componentName: todo-jdbc-config 33 - componentName: mysql-initdb-config 34 - componentName: todo-mysql-service 35 - componentName: todo-mysql-deployment 36 placement: 37 clusters: 38 - name: managed1 39 secrets: 40 - tododomain-repo-credentials 41 - tododomain-jdbc-tododb 42 - tododomain-weblogic-credentials