Skip to content

Can't set securityContext for default initContainers #797

@alexalex89

Description

@alexalex89

Currently, there is no way to configure the SecurityContext (including capabilities) for default init containers created by the Solr Operator (e.g., cp-solr-xml, setup-zk). Users can only set SecurityContext for the main Solr container via containerSecurityContext, but not for the operator-generated init containers.

In our environment we have hard policies like "drop all capabilities" or disabling "allowPrivilegeEscalation".

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