kanisterio / kanister

An extensible framework for application-level data management on Kubernetes
https://kanister.io
Apache License 2.0
760 stars 155 forks source link

Expose securityContext on kanister-operator deployment to improve security #2979

Open ifalex opened 4 months ago

ifalex commented 4 months ago

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

As for now the Deployment object for kanister-operator does not allow securityContext modifications.

Describe the solution you'd like

Modify Deployment https://github.com/kanisterio/kanister/blob/master/helm/kanister-operator/templates/deployment.yaml to allow Pod SecurityContext and containerSecurity context customization.

github-actions[bot] commented 4 months ago

Thanks for opening this issue :+1:. The team will review it shortly.

If this is a bug report, make sure to include clear instructions how on to reproduce the problem with minimal reproducible examples, where possible. If this is a security report, please review our security policy as outlined in SECURITY.md.

If you haven't already, please take a moment to review our project's Code of Conduct document.

anishbista60 commented 2 months ago

@ifalex please have a look.