Skip to content

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

@mjulaa

Description

@mjulaa

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions