Fix Grafana CrashLoopBackOff -- disable loki-stack sidecar datasource #21
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "18-fix-grafana-duplicate-datasource-v3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
isDefault: true, conflicting with the kube-prometheus-stack default Prometheus datasourcegrafana-loki-datasourceConfigMap is usedChanges
terraform/main.tf: Addedsidecar = { datasources = { enabled = false } }to the loki-stack Helm release'sgrafanablock, preventing the chart from auto-provisioning a competing default datasourceTest Plan
tofu fmt -checkpasses (no formatting issues)tofu validate-- requires provider init (not available in worktree); HCL is syntactically correcttofu plan-- should show only the loki-stack Helm release updatinggrafana-loki-datasourceConfigMapReview Checklist
Related Notes
todo-fix-grafana-duplicate-default-datasource-- the issue this PR addresses