github.com/verrazzano/verrazzano@v1.7.0/application-operator/testdata/templates/wls_workload_metrics_trait_deleted.yaml (about)

     1  # Copyright (C) 2020, 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    workloadRef:
    25      apiVersion: ##WORKLOAD_APIVER##
    26      kind: ##WORKLOAD_KIND##
    27      name: ##WORKLOAD_NAME##
    28  status:
    29    conditions:
    30      - lastTransitionTime: "2020-12-04T18:53:18Z"
    31        reason: ReconcileSuccess
    32        status: "True"
    33        type: Synced
    34    resources:
    35      - apiversion: v1
    36        kind: Pod
    37        name: ##DOMAIN_NAME##domain-adminserver
    38        namespace: ##DOMAIN_NAMESPACE##
    39        role: source
    40      - apiversion: v1
    41        kind: Pod
    42        name: ##DOMAIN_NAME##domain-managed-server1
    43        namespace: ##DOMAIN_NAMESPACE##
    44        role: source
    45      - apiversion: apps/v1
    46        kind: Deployment
    47        name: ##PROMETHEUS_NAME##
    48        namespace: ##PROMETHEUS_NAMESPACE##
    49        role: scraper