Open zamsong123 opened 4 months ago
After analysis of the helm chart I notice there are 4 changes needed for this change:
I will create a PR to make the change
Did some testing and below is the output: splunk-connect-for-kubernetes % helm template . | grep securityContext -A10 securityContext: allowPrivilegeEscalation: false capabilities: drop:
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
<
What would you like to be added: Enable the helm chart users to customize the Security Context config.
Why is this needed: For some of the enterprise users of the helm chart, there could be some security context check in the K8s clusters. e.g. runAsNonRoot must be set to "true" So it will be nice if we could enable the helm chart uses to config.