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

Use metrics-agent with readOnlyRootFilesystem set to "true" #238

Open
mjulaa opened this issue Nov 17, 2023 · 0 comments
Open

Use metrics-agent with readOnlyRootFilesystem set to "true" #238

mjulaa opened this issue Nov 17, 2023 · 0 comments

Comments

@mjulaa
Copy link

mjulaa commented Nov 17, 2023

When trying to upgrade to the Helm chart using the following settings in the values.yaml:

securityContext:
  runAsUser: 1000
  readOnlyRootFilesystem: true

The cmd errors out with:

Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.securityContext): unknown field "readOnlyRootFilesystem" in io.k8s.api.core.v1.PodSecurityContext

Happening on:

  • Kubernetes version: 1.24.10
  • Helm chart version: 2.11.16

Is this supported or planning to be supported? I haven't found it as an option in the Helm chart values file nor in the project documentation.

Thank you,

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