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

Remove direct zap dependecy in operator and kube-agent-updater #50960

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hugoShaka
Copy link
Contributor

This PR removes the direct zap dependency from the operator and kube-agent-updater.

This is a breaking change and must not be backported as the -zap-* CLI flags are removed. Those flags were not documented nor used directly, but users might have set them via the extraArgs chart value.

I switched logs by default to JSON and did not add a --log-format flag. I add such flag if you think this is necessary.

Changelog: Remove the zap-log-level, zap-devel, zap-encoder and zap-stacktrace-level flags in the operator. Use --log-level instead.
Changelog: Remove the zap-log-level, zap-devel, zap-encoder and zap-stacktrace-level flags in the teleport-kube-agent-updater. Use --log-level instead.
Changelog: The operator now logs using JSON by default.
Changelog: The kube-agent-updater now logs using JSON by default.

@hugoShaka hugoShaka changed the title Remove direct zap dependecy Remove direct zap dependecy in operator and kube-agent-updater Jan 10, 2025
Copy link
Contributor

@rosstimothy rosstimothy left a comment

Choose a reason for hiding this comment

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

Thanks @hugoShaka!

integrations/operator/main.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants