Add SIDEKIQ_LOG_ARGUMENTS as an environment variable for the sidekiq pod
Summary
SIDEKIQ_LOG_ARGUMENTS
is a special env var that allows you to log args, which is needed for .com
https://gitlab.com/gitlab-org/gitlab/-/blob/cd33a2e61a68e0b8297cb365cf0f9c572a0001b5/lib/gitlab/sidekiq_logging/logs_jobs.rb#L19. @stanhu I'm not sure if this was a one-off workaround or something we want to maintain and document longer term, any thoughts?
Currently, this isn't included in the list of supported env vars for sidekiq currently, thanks to 3a0c86ec we are able to inject arbitrary environment variables so I think we are fine to use that for now until we decide whether to add explicit support for this var.
related: https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/875
Edited by 🤖 GitLab Bot 🤖