apiVersion: grafana.integreatly.org/v1beta1 kind: GrafanaDatasource metadata: name: grafana-datasource-prometheus namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: grafana-datasource-prometheus app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: datasource: name: Prometheus type: prometheus url: http://kube-prometheus-stack-prometheus.kube-prometheus-stack:9090/ access: proxy isDefault: true jsonData: timeInterval: 30s instanceSelector: matchLabels: app: grafana-main plugins: - name: camptocamp-prometheus-alertmanager-datasource version: 2.1.0 resyncPeriod: 30s uid: kube-prometheus-stack --- apiVersion: grafana.integreatly.org/v1beta1 kind: GrafanaDatasource metadata: name: grafana-datasource-loki namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: grafana-datasource-loki app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/part-of: {{ .Release.Name }} spec: datasource: name: Loki type: loki url: http://loki.loki:3100/ access: proxy instanceSelector: matchLabels: app: grafana-main plugins: - name: grafana-lokiexplore-app version: 1.0.15 resyncPeriod: 30s uid: loki