Skip to content

Missing securityContext options for init container #36

@strachg

Description

@strachg

As per the helm3-charts repo chart for nexus-iq, the init container is missing the required security context to perform the chown operation on the mounted volume, and results in the following error:

chown: /sonatype-work/clm-cluster/log: Operation not permitted
chown: /sonatype-work/clm-cluster/log: Operation not permitted
chown: /sonatype-work/clm-cluster: Operation not permitted
chown: /sonatype-work/clm-cluster: Operation not permitted

This repo:

helm3-charts repo:
https://github.com/sonatype/helm3-charts/blob/e311891fb61c5ae35487e3e423fd8aaf83b3569b/charts/nexus-iq/templates/deployment.yaml#L50

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