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

✨ Enable verbosity control #251

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

francostellari
Copy link
Contributor

Summary

Fix the verbosity arguments

Related issue(s)

Fixes #

@@ -63,6 +63,7 @@ spec:
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
- "--zap-log-leve={{.Values.verbosity | default 2}}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like a typo here, missing "l" at the end of "level"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MikeSpreitzer fixed and enforced more checks on the value

Copy link
Contributor

@MikeSpreitzer MikeSpreitzer left a comment

Choose a reason for hiding this comment

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

This is good enough to merge.

@@ -63,6 +63,7 @@ spec:
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=127.0.0.1:8080"
- "--leader-elect"
- "--zap-log-level={{max (.Values.verbosity | default 2 | int) 1}}"
Copy link
Contributor

Choose a reason for hiding this comment

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

The defaulting here is new behvior, which should be documented in values.yaml and docs/users.md. Does not have to be done in this PR.

Signed-off-by: francostellari <[email protected]>

Enable verbosity control

Signed-off-by: francostellari <[email protected]>

Enable verbosity control

Signed-off-by: francostellari <[email protected]>

Enable verbosity control

Signed-off-by: francostellari <[email protected]>

Enable verbosity control

Signed-off-by: francostellari <[email protected]>

Enable verbosity control

Signed-off-by: francostellari <[email protected]>
Copy link
Contributor

@MikeSpreitzer MikeSpreitzer left a comment

Choose a reason for hiding this comment

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

The two force-pushes since my last review did not change anything.
This is still good enough to merge.

Copy link
Collaborator

@pdettori pdettori left a comment

Choose a reason for hiding this comment

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

/lgtm

@pdettori pdettori merged commit 2b02480 into kubestellar:main May 17, 2024
6 checks passed
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