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

Debug flag should not disable security context #2871

Open
4 tasks
manno opened this issue Sep 18, 2024 · 0 comments
Open
4 tasks

Debug flag should not disable security context #2871

manno opened this issue Sep 18, 2024 · 0 comments
Milestone

Comments

@manno
Copy link
Member

manno commented Sep 18, 2024

Follow up on #2826

Installing the fleet helm chart with --set debug also disables the security contexts on pods to allow for a debugger to be attached. Might also be related to profiling, etc.

This might be surprising and is not well documented. Furthermore, our e2e tests should test with a security context, they should however output debug messages, so we can download the logs and analyze them.

  • pod and container security contexts can be toggled on/off via helm chart, just like debug logging
  • agent inherits debug logging and security context toggle if propagateDebugSettingsToAgents is set
  • could the security context, at least for the controller, be a helm chart value? It's currently an if-switch in the template.
  • e2e tests have debug logging re-enabled
@manno manno added this to the v2.10.0 milestone Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant