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

chore!: Remove container loglevel from config-logging #283

Merged

Conversation

jonathan-innis
Copy link
Member

@jonathan-innis jonathan-innis commented Apr 10, 2023

Fixes #

Description

Container-based log level should not be supported since the separate containers for the controller and the webhook were removed in #29. These values should be removed from the values.yaml file in the helm chart

BREAKING: A user who would normally set the logLevel through --set controller.logLevel will now have to set it globally; otherwise, the log level will default to the global level

How was this change tested?

make presubmit
make apply

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jonathan-innis jonathan-innis force-pushed the remove-container-loglevel branch from 8053d29 to 25670f0 Compare April 10, 2023 18:16
@jonathan-innis jonathan-innis force-pushed the remove-container-loglevel branch from 25670f0 to b54bdfe Compare April 10, 2023 18:16
@jonathan-innis jonathan-innis marked this pull request as ready for review April 10, 2023 18:16
@jonathan-innis jonathan-innis requested a review from a team as a code owner April 10, 2023 18:16
@jonathan-innis jonathan-innis requested a review from bwagner5 April 10, 2023 18:16
@jonathan-innis jonathan-innis enabled auto-merge (squash) April 10, 2023 18:16
@coveralls
Copy link

coveralls commented Apr 10, 2023

Pull Request Test Coverage Report for Build 4660025705

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 81.0%

Totals Coverage Status
Change from base Build 4640739389: -0.1%
Covered Lines: 6655
Relevant Lines: 8216

💛 - Coveralls

Copy link
Contributor

@ellistarn ellistarn left a comment

Choose a reason for hiding this comment

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

What does helm do if you configure this? Swallow? Warn?

@jonathan-innis
Copy link
Member Author

What does helm do if you configure this? Swallow? Warn?

It swallows the value if it's set but isn't utilized. This should be effectively a minimally breaking-change for customers

@jonathan-innis jonathan-innis changed the title chore: Remove container loglevel from config-logging chore!: Remove container loglevel from config-logging Apr 10, 2023
@jonathan-innis jonathan-innis merged commit 58087ae into kubernetes-sigs:main Apr 10, 2023
jonathan-innis added a commit that referenced this pull request Apr 10, 2023
jonathan-innis added a commit that referenced this pull request Apr 10, 2023
jonathan-innis added a commit to jonathan-innis/karpenter that referenced this pull request Apr 10, 2023
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