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 dynamic log level changing with ConfigMap watch #544

Merged

Conversation

jonathan-innis
Copy link
Member

@jonathan-innis jonathan-innis commented Sep 27, 2023

Fixes #N/A

Description

This PR removes the ability for changes to be made to the config-logging ConfigMap while the component is running. There has been planned deprecation for dropping support for this for some time, with the plan to drop knative as a dependency from the repository #332

This change also makes the WEBHOOK_METRICS_PORT environment variable a first-class citizen for getting webhook metrics as long as the webhooks are enabled.

How was this change tested?

  • make presubmit
  • Manual deployment to cluster

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 add-static-logging-config branch from 725cf8c to 9b09948 Compare September 27, 2023 07:04
@jonathan-innis jonathan-innis marked this pull request as ready for review September 27, 2023 07:16
@jonathan-innis jonathan-innis requested a review from a team as a code owner September 27, 2023 07:16
@coveralls
Copy link

coveralls commented Sep 27, 2023

Pull Request Test Coverage Report for Build 6332239789

  • 2 of 4 (50.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 81.773%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/operator/injection/injection.go 2 3 66.67%
pkg/operator/options/options.go 0 1 0.0%
Totals Coverage Status
Change from base Build 6322500453: 0.06%
Covered Lines: 8883
Relevant Lines: 10863

💛 - Coveralls

@jonathan-innis jonathan-innis force-pushed the add-static-logging-config branch 3 times, most recently from 86364eb to 5c24451 Compare September 27, 2023 07:41
@jonathan-innis jonathan-innis enabled auto-merge (squash) September 27, 2023 07:43
@jonathan-innis jonathan-innis force-pushed the add-static-logging-config branch 9 times, most recently from fc0886b to f9b44b6 Compare September 27, 2023 22:43
@jonathan-innis jonathan-innis force-pushed the add-static-logging-config branch from f9b44b6 to b97ab0e Compare September 28, 2023 19:15
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