charts icon indicating copy to clipboard operation
charts copied to clipboard

Set securityContext for haproxy init container

Open phihos opened this issue 1 year ago • 1 comments

The init container is currently the only container where no securityContext could be set. That is causing issues in environments with strict security constraints. This commit introduces a new key controller.haproxy.initContainer.securityContext similar to existing securityContext keys.

phihos avatar Aug 21 '24 21:08 phihos

Indeed, and thanks for the PR! I'm wondering however if it fits under controller.initContainer.securityContext instead, since .haproxy is dedicated for the haproxy container sidecar. Moreover, please add a line in the readme file.

jcmoraisjr avatar Sep 14 '24 16:09 jcmoraisjr