fix: resolve grafana provisioning error by removing UIDs and fixing mounts

This commit is contained in:
itumi
2026-02-11 10:14:55 +02:00
parent 24090a86e8
commit 46e2ee9d05

View File

@@ -17,12 +17,10 @@ data:
access: proxy access: proxy
url: http://prometheus-operated.monitoring.svc.cluster.local:9090 url: http://prometheus-operated.monitoring.svc.cluster.local:9090
isDefault: true isDefault: true
uid: prometheus
- name: Loki - name: Loki
type: loki type: loki
access: proxy access: proxy
url: http://loki.monitoring.svc.cluster.local:3100 url: http://loki.monitoring.svc.cluster.local:3100
uid: P8E80F9AEF21F6940
dashboards.yaml: | dashboards.yaml: |
apiVersion: 1 apiVersion: 1
providers: providers:
@@ -397,11 +395,11 @@ spec:
- name: grafana-storage - name: grafana-storage
mountPath: /var/lib/grafana mountPath: /var/lib/grafana
- name: grafana-provisioning - name: grafana-provisioning
mountPath: /etc/grafana/provisioning/datasources/datasources.yaml mountPath: /etc/grafana/provisioning/datasources
subPath: datasources.yaml subPath: datasources.yaml
readOnly: true readOnly: true
- name: grafana-provisioning - name: grafana-provisioning
mountPath: /etc/grafana/provisioning/dashboards/dashboards.yaml mountPath: /etc/grafana/provisioning/dashboards
subPath: dashboards.yaml subPath: dashboards.yaml
readOnly: true readOnly: true
- name: grafana-dashboards - name: grafana-dashboards