Closed pdettori closed 5 days ago
@pdettori So you apply the security context at the container level and not the Pod right? No other change? (sorry, I prefer to check if I read it right :smile:)
@guimou correct. One yq
command is used to set the security context at the container level. I found that an additional yq
command is needed to unset the default security context at the pod level because runAsUser
and runAsGroup
are set to default values outside OpenShift ranges.
@pdettori Thanks a lot for your PR!
Fixes #69