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

fix: change events emit toggle name to --emit-kubernetes-events #5299

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Dec 6, 2023

What this PR does / why we need it:

Changes the new --emit-translation-events flag name to --emit-kubernetes-events as it decides not only about the translation events but all the events we generate (including configuration application success and failure).

Which issue this PR fixes:

Part of #5252.

Special notes for your reviewer:

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@czeslavo czeslavo self-assigned this Dec 6, 2023
@czeslavo czeslavo added this to the KIC v3.1.x milestone Dec 6, 2023
@czeslavo czeslavo marked this pull request as ready for review December 6, 2023 12:55
@czeslavo czeslavo requested a review from a team as a code owner December 6, 2023 12:55
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (8b3d551) 75.7% compared to head (f06be10) 75.9%.

Files Patch % Lines
internal/manager/run.go 50.0% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #5299     +/-   ##
=======================================
+ Coverage   75.7%   75.9%   +0.1%     
=======================================
  Files        170     170             
  Lines      19457   19458      +1     
=======================================
+ Hits       14742   14774     +32     
+ Misses      3879    3855     -24     
+ Partials     836     829      -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@programmer04 programmer04 left a comment

Choose a reason for hiding this comment

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

👍 it's better now

@czeslavo czeslavo merged commit bf8e872 into main Dec 6, 2023
38 checks passed
@czeslavo czeslavo deleted the fix/emit-events-flag branch December 6, 2023 13:36
randmonkey added a commit that referenced this pull request Dec 8, 2023
* Fix: Add --emit-translation-events to toggle creating of events in translation and config applying (#5296)

* add --emit-translation-events to toggle creating of events in translation and config applying

* update changelog

* Update internal/manager/run.go

Co-authored-by: Jintao Zhang <zhangjintao9020@gmail.com>

* Capitalize logs

Co-authored-by: Jakub Warczarek <jakub.warczarek@konghq.com>

---------

Co-authored-by: Jintao Zhang <zhangjintao9020@gmail.com>
Co-authored-by: Jakub Warczarek <jakub.warczarek@konghq.com>
(cherry picked from commit 8b3d551)

* fix: change events emit toggle name to --emit-kubernetes-events (#5299)

---------

Co-authored-by: Tao Yi <tao.yi@konghq.com>
Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com>
tao12345666333 added a commit that referenced this pull request Dec 8, 2023
* Fix: Add --emit-translation-events to toggle creating of events in translation and config applying (#5296)

* add --emit-translation-events to toggle creating of events in translation and config applying

* update changelog

* Update internal/manager/run.go

Co-authored-by: Jintao Zhang <zhangjintao9020@gmail.com>

* Capitalize logs

Co-authored-by: Jakub Warczarek <jakub.warczarek@konghq.com>

---------

Co-authored-by: Jintao Zhang <zhangjintao9020@gmail.com>
Co-authored-by: Jakub Warczarek <jakub.warczarek@konghq.com>
(cherry picked from commit 8b3d551)

* fix: change events emit toggle name to --emit-kubernetes-events (#5299)

* docs: re-generate docs/cli-arguments.md

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>

* Update CHANGELOG

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>

---------

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Co-authored-by: Tao Yi <tao.yi@konghq.com>
Co-authored-by: Grzegorz Burzyński <czeslavo@gmail.com>
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.

None yet

2 participants