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

Remove deprecated --bind-address and --secure-port from karmada-agent #5548

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

whitewindmills
Copy link
Member

@whitewindmills whitewindmills commented Sep 14, 2024

What type of PR is this?
/kind cleanup

What this PR does / why we need it:

Which issue(s) this PR fixes:
part of #5547

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

`karmada-agent`: Removed `--bind-address` and `--secure-port` flags which were deprecated in release-1.11 and replaced by `--health-probe-bind-address` and `--metrics-bind-address`.

Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
@karmada-bot karmada-bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Sep 14, 2024
@karmada-bot karmada-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 14, 2024
@whitewindmills
Copy link
Member Author

/assign @RainbowMango

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 34.16%. Comparing base (e76ce63) to head (f33bc38).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
cmd/agent/app/options/options.go 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5548      +/-   ##
==========================================
+ Coverage   34.14%   34.16%   +0.01%     
==========================================
  Files         643      643              
  Lines       44522    44510      -12     
==========================================
+ Hits        15204    15205       +1     
+ Misses      28162    28149      -13     
  Partials     1156     1156              
Flag Coverage Δ
unittests 34.16% <0.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@RainbowMango
Copy link
Member

/retitle Remove deprecated --bind-address and --secure-port from karmada-agent
I'll take a look later.
To ensure we don't use those flags at karmadactl init/karmada-operator/helm chart/hack/local-up-karmada.sh.

@karmada-bot karmada-bot changed the title Remove BindAddress & SecurePort of karmada-agent Remove deprecated --bind-address and --secure-port from karmada-agent Sep 14, 2024
@whitewindmills
Copy link
Member Author

To ensure we don't use those flags at karmadactl init/karmada-operator/helm chart/hack/local-up-karmada.sh.

I've checked it.

@whitewindmills
Copy link
Member Author

/retest

@RainbowMango RainbowMango added the kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. label Sep 18, 2024
Copy link
Member

@RainbowMango RainbowMango left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
Thanks.

@karmada-bot karmada-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 18, 2024
@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 18, 2024
@karmada-bot karmada-bot merged commit 96622c6 into karmada-io:master Sep 18, 2024
12 checks passed
@whitewindmills whitewindmills deleted the deprecate-param branch September 18, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants