perses / helm-charts

Perses helm chart
Apache License 2.0
11 stars 7 forks source link

Permission denied when Persistence is enabled #27

Closed ibakshay closed 1 week ago

ibakshay commented 2 weeks ago

What did you do?

When persistence.enabled is set to true in the values.yaml , the Perses StatefulSet fails to write to the /perses/globaldatasources directory. The following error appears in the logs:

perses-0 time="2024-10-11T20:54:09Z" level=error msg="unable to create the \"GlobalDatasource\" \"prometheusdemobrowser\"" func="github.com/perses/perses/internal/api/provisioning.(*provisioning).applyEntity" file="/home/runner/work/perses/perses/internal/api/provisioning/provisioning.go:96" error="mkdir /perses/globaldatasources: permission denied"

This issue is caused by insufficient file system permissions on the mounted Persistent Volume.

What did you expect to see?

The application should be able to create directories and write to the /perses/globaldatasources path when persistence is enabled.

No response

Perses version

v0.48.0