Skip to content

Would like to be able to specify the UID for the container in helm chart v3.4.0 #3122

@naveensgowda

Description

@naveensgowda

Would like to be able to specify the UID for the container. We are using older version of Weblogic Operator (3.0.0) and now we are planning to use the latest one. We have USER 1000 specified in the docker image in v3.0.0, whereas with latest images numeric user is not specifed and we have USER oracle in the docker image (in v3.4.0, v3.3.0).

We are using our own container management orchestration system and it has more restrictive policy. Since numeric user is not provided deploying Weblogic Operator fails with below error,
Error: container has runAsNonRoot and image has non-numeric user (oracle), cannot verify user is non-root

In order to over come this we have either specify USER 1000 in docker image or include below in the deployment yaml spec (_operator-dep.tpl),
securityContext:
runAsUser: 1000

It would be nice have an option where we can do this in the official helm chart (weblogic-operator-3.4.0) itself. If not good to have always it could be configurable based one some flag (like we provide cpuLimits, memoryLimits currently).

WO

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