Skip to content

Audit environment enhancements#56

Merged
ghaskins merged 2 commits intomanetu:mainfrom
ghaskins:audit-env
Jan 29, 2026
Merged

Audit environment enhancements#56
ghaskins merged 2 commits intomanetu:mainfrom
ghaskins:audit-env

Conversation

@ghaskins
Copy link
Copy Markdown
Contributor

No description provided.

… loading

Apply MPE_LOG_LEVEL from the environment before reading the config file
so that debug-level messages during config loading are visible.

Signed-off-by: Greg Haskins <greg@manetu.com>
Transform audit.env from a simple key-to-envvar map into a typed list
supporting four value sources: env, string, k8s-label, and k8s-annot.
The k8s types use the Downward API (file-based) with a configurable
podinfo path (audit.k8s.podinfo), requiring no new Go dependencies.

Signed-off-by: Greg Haskins <greg@manetu.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 29, 2026

Codecov Report

❌ Patch coverage is 78.04878% with 18 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/core/config/config.go 75.00% 7 Missing and 2 partials ⚠️
pkg/core/config/k8s.go 80.43% 6 Missing and 3 partials ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@muralisrini muralisrini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ghaskins ghaskins merged commit 22f2023 into manetu:main Jan 29, 2026
16 checks passed
@ghaskins ghaskins deleted the audit-env branch January 29, 2026 14:50
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.

3 participants