github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/coherence_workload_metrics_trait_deleted.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: oam.verrazzano.io/v1alpha1 4 kind: MetricsTrait 5 metadata: 6 deletionTimestamp: "2020-11-23T15:12:08Z" 7 finalizers: 8 - metricstrait.finalizers.verrazzano.io 9 labels: 10 app.oam.dev/component: ##OAM_COMP_NAME## 11 app.oam.dev/name: ##OAM_APP_NAME## 12 app.oam.dev/resourceType: TRAIT 13 app.oam.dev/revision: todo-wls-v1 14 name: ##TRAIT_NAME## 15 namespace: ##TRAIT_NAMESPACE## 16 ownerReferences: 17 - apiVersion: core.oam.dev/v1alpha2 18 blockOwnerDeletion: true 19 controller: true 20 kind: ApplicationConfiguration 21 name: ##OAM_APP_NAME## 22 uid: a7c14699-15aa-4ae6-bddc-2013c98748e6 23 spec: 24 scraper: ##PROMETHEUS_NAMESPACE##/##PROMETHEUS_NAME## 25 workloadRef: 26 apiVersion: ##WORKLOAD_APIVER## 27 kind: ##WORKLOAD_KIND## 28 name: ##WORKLOAD_NAME## 29 status: 30 conditions: 31 - lastTransitionTime: "2020-12-04T18:53:18Z" 32 reason: ReconcileSuccess 33 status: "True" 34 type: Synced 35 resources: 36 - apiversion: v1 37 kind: StatefulSet 38 name: ##STATEFULSET_NAME## 39 namespace: ##STATEFULSET_NAMESPACE## 40 role: source 41 - apiversion: apps/v1 42 kind: Deployment 43 name: ##PROMETHEUS_NAME## 44 namespace: ##PROMETHEUS_NAMESPACE## 45 role: scraper