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

⚠️ Breaking Changes: Rename monitoring-port flag to webook-server-port #1925

Merged

Conversation

afritzler
Copy link
Contributor

@afritzler afritzler commented Sep 29, 2023

What this PR does / why we need it:

The monitoring-port flag is wrongly used as the webhook server port. This PR renames the monitoring-port flag to webook-server-port. As this is a potentially breaking change (e.g. when used in Helm charts) this needs to be marked as such.

In the pre 0.16.x time of the controller-runtime the Port config is defined here:
https://github.com/kubernetes-sigs/controller-runtime/blob/v0.15.2/pkg/manager/manager.go#L287

Checklist:

  • Docs included if any changes are user facing

/cc @tenzen-y

- Change the flag name for the webhook server port from `monitoringPort` to `webhookServerPort`

Signed-off-by: Andreas Fritzler <andreas.fritzler@proton.me>
Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

Thanks!
/lgtm
/approve

@kubeflow/wg-training-leads Could you restart CI?

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afritzler, tenzen-y

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

@afritzler
Copy link
Contributor Author

Thanks @tenzen-y! Is there a label to mark this change as breaking as mentioned in the PR description?

@tenzen-y
Copy link
Member

tenzen-y commented Oct 4, 2023

Thanks @tenzen-y! Is there a label to mark this change as breaking as mentioned in the PR description?

We don't have any label for breaking. So, adding prefix to PR title would be better like this:

#1824

@afritzler afritzler changed the title Rename monitoring-port flag to webook-server-port ⚠️ Breaking Changes: Rename monitoring-port flag to webook-server-port Oct 4, 2023
@google-oss-prow google-oss-prow bot merged commit a4c0cec into kubeflow:master Oct 8, 2023
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants