clusterloader2/pkg/prometheus/manifests/grafana-dashboardDatasources.yaml (25 lines of code) (raw):
apiVersion: v1
kind: Secret
metadata:
name: grafana-datasources
namespace: monitoring
type: Opaque
stringData:
prometheus.yaml: |-
{
"apiVersion": 1,
"datasources": [
{
"access": "proxy",
"editable": true,
"name": "prometheus",
"orgId": 1,
"type": "prometheus",
"url": "http://prometheus-k8s.monitoring.svc:9090",
"version": 1,
"jsonData": {
"timeInterval": "5s",
},
}
]
}=