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

[enterprise-logs] Run GEL containers as non root user #687

Closed
chaudum opened this issue Sep 17, 2021 · 0 comments · Fixed by #691
Closed

[enterprise-logs] Run GEL containers as non root user #687

chaudum opened this issue Sep 17, 2021 · 0 comments · Fixed by #691
Assignees
Labels
bug Something isn't working

Comments

@chaudum
Copy link
Contributor

chaudum commented Sep 17, 2021

The Pods that are created by the parent chart do not have a security context configured. However, since the GEL Docker container runs as user enterprise-logs (uid=10001,gid=10001), their security context needs to be configured accordingly.

securityContext:
  runAsNonRoot: true
  runAsGroup: 10001
  runAsUser: 10001
  fsGroup: 10001
@chaudum chaudum added the bug Something isn't working label Sep 17, 2021
@chaudum chaudum self-assigned this Sep 17, 2021
chaudum added a commit that referenced this issue Sep 20, 2021
This is needed when running GEL as AWS Marketplace container product on EKS
where the users needs access to the EKS service account token.

Fixes #687

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
chaudum added a commit that referenced this issue Sep 21, 2021
This is needed when running GEL as AWS Marketplace container product on EKS
where the users needs access to the EKS service account token.

Fixes #687

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
mfamador pushed a commit to anovateam/grafana-helm-charts that referenced this issue Oct 19, 2021
This is needed when running GEL as AWS Marketplace container product on EKS
where the users needs access to the EKS service account token.

Fixes grafana#687

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant