janhoy opened a new pull request, #649:
URL: https://github.com/apache/solr-operator/pull/649

   **Draft PR, only code, not docs, no helm support.**
   
   The `busybox` official image runs as root in `cp-solr-xml` init-container, 
and there is no way to configure it otherwise, other than point to a different 
image that has been manipulated as non-root.
   
   By adding a `SecurityContext` for the init container defaulting to the 
`nobody` user and setting `runAsNonRoot: true`, we have a good default. By also 
making the `securityContext` configurable, we allow for people to switch to a 
different image with other UID etc.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to