Skip to content

Script pod security context falsely passing through chart toggle into pod spec #677

Description

@OzoneNZ

The .agent.securityContext.readOnlyRootFilesystem toggle is being rendered into the output Pod YAML spec and causing validation warnings upon deployment:

"Warning: unknown field \"spec.securityContext.readOnlyRootFilesystem\""
"Warning: unknown field \"spec.template.spec.securityContext.readOnlyRootFilesystem\""

Easy fix would probably be to move this chart-specific toggle upwards and outwards of the securityContext blocks, since the chart appears to be raw-rendering the entire .agent.securityContext.* block into the output with toYaml.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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