metrics-agent icon indicating copy to clipboard operation
metrics-agent copied to clipboard

Use metrics-agent with readOnlyRootFilesystem set to "true"

Open mjulaa opened this issue 2 years ago • 0 comments

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,

mjulaa avatar Nov 17 '23 07:11 mjulaa