Skip to content

Fix when securitycontext is enabled#191

Merged
sstarcher merged 2 commits intosstarcher:masterfrom
hugosxm:fix-when-securitycontext-is-enabled
Dec 21, 2025
Merged

Fix when securitycontext is enabled#191
sstarcher merged 2 commits intosstarcher:masterfrom
hugosxm:fix-when-securitycontext-is-enabled

Conversation

@hugosxm
Copy link
Contributor

@hugosxm hugosxm commented Dec 21, 2025

Hi,

just started using your exporter and noticed that when you enable securityContexts, especially readOnlyRootFilesystem: true, the exporter won't work with custom helm repos. Because it needs to download file to /.cache. So I made this folder an emptyDir to make it work !

Also I updated the "exemple" securityContext in the values file to be inline with the restricted PSS : https://kubernetes.io/docs/concepts/security/pod-security-standards/#privileged

Signed-off-by: CAMPION Hugo <h.campion@geco-it.fr>
Signed-off-by: CAMPION Hugo <h.campion@geco-it.fr>
@sstarcher sstarcher merged commit 3747323 into sstarcher:master Dec 21, 2025
3 checks passed
@sstarcher
Copy link
Owner

Thanks for the improvement

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

Successfully merging this pull request may close these issues.

2 participants