github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/grafana.integreatly.org/GrafanaDatasource/testdata/degraded.yaml (about)

     1  apiVersion: grafana.integreatly.org/v1beta1
     2  kind: GrafanaDatasource
     3  metadata:
     4    annotations:
     5      argocd.argoproj.io/sync-wave: '3'
     6      argocd.argoproj.io/tracking-id: foobar-admin:grafana.integreatly.org/GrafanaDatasource:foo/cluster-local
     7    creationTimestamp: '2024-10-07T09:37:21Z'
     8    generation: 1
     9    name: cluster-local
    10    namespace: foo
    11    resourceVersion: '356565'
    12    uid: 927b3c23-e25f-4cbe-a82f-effbb0bbbf40
    13  spec:
    14    allowCrossNamespaceImport: true
    15    datasource:
    16      access: proxy
    17      editable: true
    18      isDefault: true
    19      jsonData:
    20        httpHeaderName1: Authorization
    21        timeInterval: 5s
    22        tlsSkipVerify: true
    23      name: cluster-local
    24      secureJsonData:
    25        httpHeaderValue1: Bearer ${token}
    26      type: prometheus
    27      url: https://thanos-querier.openshift-monitoring.svc.cluster.local:9091
    28    instanceSelector:
    29      matchLabels:
    30        dashboards: invalid-selector
    31    resyncPeriod: 5m
    32    valuesFrom:
    33      - targetPath: secureJsonData.httpHeaderValue1
    34        valueFrom:
    35          secretKeyRef:
    36            key: token
    37            name: grafana-token
    38  status:
    39    NoMatchingInstances: true
    40    hash: 56e40622b6a72563637b7c5f33c26d1ce87839dd5897a4a263fbd3d947f951cb
    41    lastResync: '2024-10-09T10:30:40Z'
    42    uid: 927b3c23-e25f-4cbe-a82f-effbb0bbbf40