-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Allow vpa-admission-controler to installl on specific path #1625
Conversation
Can you reference the original issue that this is addressing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think we should do this but I would split into two flags.
@bskiba I have sperated it into two flags |
it seems that you can't register both by Service and URL. Does this work for you? |
Can we specify the url where it is currently installing the vpa-admission controller as the initial/default url? |
Not sure I understand the question. The current way of registering the webhook is by specifying a Kubernetes Service to call. Registration by URL is an alternative, it shouldn't be used at the same time as Service is specified. That's why I am curious if this works for you in the current setup - seems it shouldn't work if you specify a not-empty URL. We could introduce recognizing registration mode to avoid this clash - register as Service only if the url is not empty or have a --registerByURL flag |
Having a --registerByURL flag sounds good. |
@bskiba I have updated the PR PTAL. |
03ee1ef
to
916cd53
Compare
@bskiba PTAL |
Probably last minor comments, please also resolve conflict. |
@bskiba PTAL |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bskiba 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 |
Bumps [k8s.io/code-generator](https://github.com/kubernetes/code-generator) from 0.28.5 to 0.28.6. - [Commits](kubernetes/code-generator@v0.28.5...v0.28.6) --- updated-dependencies: - dependency-name: k8s.io/code-generator dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#1561