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

controller: refactors flags #235

Merged
merged 5 commits into from
Jan 30, 2025
Merged

controller: refactors flags #235

merged 5 commits into from
Jan 30, 2025

Conversation

mathetake
Copy link
Member

@mathetake mathetake commented Jan 30, 2025

Commit Message:

This refactors the main function of controller.
Previously it was conflated with the implementation detail
(zap) and that is exposed unnecessarily as controller main
arguments. This resolves it and expose the only necessary
one to have the consistency with extproc.

Notably, this also adds an new controller argument/helm
value that configures the log level of external processor.
More fine tuned, per-route log level can be added later
as in #204.

This also increases the test coverage.

Related Issues/PRs (if applicable):

Supersedes #204

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@mathetake mathetake changed the title controller: make extproc log level configurable controller: refactors flags Jan 30, 2025
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
@mathetake mathetake marked this pull request as ready for review January 30, 2025 20:29
@mathetake mathetake requested a review from a team as a code owner January 30, 2025 20:29
@mathetake mathetake enabled auto-merge (squash) January 30, 2025 20:30
@mathetake mathetake disabled auto-merge January 30, 2025 20:32
@mathetake mathetake merged commit 6eb7f58 into main Jan 30, 2025
17 checks passed
@mathetake mathetake deleted the configurableextprocloglevel branch January 30, 2025 20:32
mathetake added a commit that referenced this pull request Jan 30, 2025
**Commit Message**:

This is a follow up on #235  and does the same
refactoring to external processor.

---------

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
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.

1 participant