FairwindsOps / charts

Fairwinds helm chart repository

Home Page:https://fairwinds.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable setting securityContext on test containers

davidblum opened this issue · comments

Is your feature request related to a problem? Please describe.

We run a strict gatekeeper policy to prevent pods without security context set from being deployed. When we run goldilocks with VPA, we cannot deploy VPA as the test fails due to gate keeper violations.

Describe the solution you'd like

I would like a helm value option for securityContext that can be set and passed through to the helm test to enable configuration of the test pods.

Describe alternatives you've considered

Using a tool to "wedge" these spec changes in at run time

Additional context

This is supported in almost every other aspect of the goldilocks and VPA charts, I think continuing this pattern would be very useful.