Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s-sidecar-target-directory: <foldername> doesn't work as expected #385

Open
ChinthapalliNikhithaChandana opened this issue Jan 2, 2025 · 0 comments

Comments

@ChinthapalliNikhithaChandana

I'm using kube-prometheus-stack helm chart to deploy grafana. I have the sidecar enabled. I'm plannning to store the grfana dashboards in a folder.

grafana configuration:

sidecar:
dashboards:
provider:
foldersFromFilesStructure: true

Dashboard configmap

kind: ConfigMap
apiVersion: v1
metadata:
name: prometheus-alerts
labels:
grafana_dashboard: "1"
annotations:
k8s-sidecar-target-directory: "folder-name"

Here the k8s-sidecar-target-directory annotation creates a folder, but it cannot accomodate multiple dashboards, Can you help me figure out where it's going wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant