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

Forward SETH_LOG_LEVEL env to remote runner #1565

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

lukaszcl
Copy link
Contributor

@lukaszcl lukaszcl commented Jan 16, 2025


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

This pull request introduces a new environment variable SETH_LOG_LEVEL to specify the log level used by Seth, enhancing configurability for logging within the system. Additionally, it ensures this new variable is propagated to the Kubernetes environment, ensuring consistency across different deployment environments.

What

  • lib/k8s/config/overrides.go
    • Added EnvSethLogLevel, EnvSethLogLevelDescription, and EnvSethLogLevelExample to define a new environment variable for Seth's log level, enhancing the configurability for logging.
  • lib/k8s/environment/runner.go
    • Included config.EnvSethLogLevel in the lookups slice to ensure the new SETH_LOG_LEVEL environment variable is properly propagated to the Kubernetes environment, maintaining consistency and configurability in logging across deployments.

@cl-sonarqube-production
Copy link

@lukaszcl lukaszcl merged commit 5a76b26 into main Jan 16, 2025
55 of 56 checks passed
@lukaszcl lukaszcl deleted the TT-1146-Auto-forward-SETH_LOG_LEVEL-to-remote-runner branch January 16, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants