-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bitnami/grafana-operator] SecurityContext applied to initContainers into Grafana deployment #14104
Comments
Thanks for creating this issue and the associated PR, the team will review it and provide feedback as soon as possible (it will take longer than usual due to the holidays). This issue will be automatically closed once merge the PR. |
After testing the new version of the chart, this values.yaml is not overriding the deployment properly:
The deployment that I can see is this:
Maybe should great to be able to disable the grafana-plugin-init initContainer if there is no Grafana plugins to install. |
Hi @robmonct, After some further research on this issue, I was able to find several issues causing this, one on our chart and severalin the upstream grafana-operator project Starting with our side, we are setting Then, Grafana Operator has several issues affecting initContainers:
|
I just noticed the value In order to support additional features, those features need to be added and released in the upstream project: https://github.com/grafana-operator/grafana-operator |
Name and Version
bitnami/grafana-operator:4.8.0
What is the problem this feature will solve?
The problem is that there is no way to add SecurityContext to initContainers (grafana-plugins-init) for Grafana pods. There is a way to add containerSecurityContext and podSecurityContext but that is not applied to initContainers.
What is the feature you are proposing to solve the problem?
With this feature, we should be able to add securityContext also to initContainers.
What alternatives have you considered?
The easiest way in my honest opinion is add the option to overwrite the initContainers for Grafana pods like it is possible to do it for Grafana operator pods.
PR proposed: #14103
The text was updated successfully, but these errors were encountered: