argo-cd/resource_customizations/grafana.integreatly.org/GrafanaDatasource/testdata/progressing.yaml
rezellme 19d85aa9fb
feat(health): Adding more health checks for Keycloak, Postgres, Grafana, SolrCloud (#20294)
* feat(health): Add healtchcheck for acid.zalan.do/postgresql

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for grafana.integreatly.org/Grafana and GrafanaDatasource

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for k8s.keycloak.org/Keycloak

Signed-off-by: Remo Zellmer <rze@vizrt.com>

* feat(health): Add healthcheck for solr.apache.org/SolrCloud

Signed-off-by: Remo Zellmer <rze@vizrt.com>

---------

Signed-off-by: Remo Zellmer <rze@vizrt.com>
2024-10-09 11:12:09 -04:00

35 lines
925 B
YAML

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
name: cluster-local
namespace: foo
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:
uid: ""