Skip to content
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

"sidecar.securityContext" setting in Helm-Chart ignores "loki.containerSecurityContext" #10660

Open
hoepfnerj opened this issue Sep 20, 2023 · 0 comments · May be fixed by #10901
Open

"sidecar.securityContext" setting in Helm-Chart ignores "loki.containerSecurityContext" #10660

hoepfnerj opened this issue Sep 20, 2023 · 0 comments · May be fixed by #10901

Comments

@hoepfnerj
Copy link

Describe the bug
The default in the Loki Helm-Chart version 5.22.0 adds a sidecar container to the backend pod. The sidecar section contains a separate sidecar.securityContext but ignores the (global) loki.containerSecurityContext setting. This is not necessarily a bug, but seems inconsistent.

To Reproduce
Deploy the Loki Helm-Chart with default settings. The sidecar container does not contain the settings from loki.containerSecurityContext.

Expected behavior
The sidecar should be be aligned with the loki.containerSecurityContext setting.

Environment:

  • Infrastructure: Kubernetes
  • Deployment tool: helm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants