apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
  annotations:
    argocd.argoproj.io/sync-wave: '3'
    argocd.argoproj.io/tracking-id: foobar-admin:grafana.integreatly.org/GrafanaDatasource:foo/cluster-local
  creationTimestamp: '2024-10-07T09:37:21Z'
  generation: 1
  name: cluster-local
  namespace: foo
  resourceVersion: '356565'
  uid: 927b3c23-e25f-4cbe-a82f-effbb0bbbf40
spec:
  allowCrossNamespaceImport: true
  datasource:
    access: proxy
    editable: true
    isDefault: true
    jsonData:
      httpHeaderName1: Authorization
      timeInterval: 5s
      tlsSkipVerify: true
    name: cluster-local
    secureJsonData:
      httpHeaderValue1: Bearer ${token}
    type: prometheus
    url: https://thanos-querier.openshift-monitoring.svc.cluster.local:9091
  instanceSelector:
    matchLabels:
      dashboards: grafana
  resyncPeriod: 5m
  valuesFrom:
    - targetPath: secureJsonData.httpHeaderValue1
      valueFrom:
        secretKeyRef:
          key: token
          name: grafana-token
status:
  hash: 56e40622b6a72563637b7c5f33c26d1ce87839dd5897a4a263fbd3d947f951cb
  lastResync: '2024-10-09T10:30:40Z'
  uid: 927b3c23-e25f-4cbe-a82f-effbb0bbbf40
