-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support readOnlyRootFilesystem=true
in KEDA metric adapter
#3292
Comments
I will let @zroubalik determine if we want to do this, because from what I'm seeing on #2880 this is something that the end-user has to do and we should provide better docs on. We cannot run KEDA with full readOnlyRootFilesytem as far as I know. |
readOnlyRootFilesystem=true
in KEDA metric adapter
@tomkerkhove in #2880 @zroubalik asked for someone to create a doc PR. IIUC, @ygnr was able to accomplish this by setting mountPath to
and then setting readOnlyRootFilesystem to true in the securityContext of metricServer |
Yeah, it is partly covered in FAQ: https://keda.sh/docs/2.7/faq/ Though we can definitely improve it, @joebowbeer mind opening a RP on https://github.com/kedacore/keda-docs with changes that would make it more clear to you? |
Created PR kedacore/keda-docs#830 to improve FAQ answer |
Proposal
Configure
keda-metrics-apiserver
to run withreadOnlyRootFilesystem=true
, or at least document how to configure this.See suggested solution in discussion #2880
Relates to #2938 which omitted this setting from
keda-metrics-apiserver
Use-Case
Enable KEDA to pass security audit.
While
readOnlyRootFilesystem=true
is not required by PSS/restricted, it is a recommended security best practice and may be required by other policies.Anything else?
No response
The text was updated successfully, but these errors were encountered: