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 discovery version for autoscaling to be v1 #45741

Conversation

DirectXMan12
Copy link
Contributor

The order of the storage setup blocks in the setup for the autoscaling
API group was accidentally inverted, meaning that if the v2alpha1 API
group was turned on, it would be set to the preferred API group-version
for discovery.

This was unintentional; the latest stable version should (v1) should be
preferred instead.

Release note:

Ensure that autoscaling/v1 is the preferred version for API discovery when autoscaling/v2alpha1 is enabled.

The order of the storage setup blocks in the setup for the autoscaling
API group was accidentally inverted, meaning that if the v2alpha1 API
group was turned on, it would be set to the preferred API group-version
for discovery.

This was unintentional; the latest stable version should (v1) should be
preferred instead.
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 12, 2017
@DirectXMan12
Copy link
Contributor Author

cc openshift/origin#14165 @jwforres @derekwaynecarr

This also probably needs to be ported to the 1.6 branch.

@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels May 12, 2017
@deads2k
Copy link
Contributor

deads2k commented May 15, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 15, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: DirectXMan12, deads2k

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 15, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 337c539 into kubernetes:master May 15, 2017
@DirectXMan12 DirectXMan12 deleted the bug/incorrect-autoscaling-discovery-version branch May 15, 2017 16:22
@DirectXMan12 DirectXMan12 restored the bug/incorrect-autoscaling-discovery-version branch May 15, 2017 16:23
@DirectXMan12 DirectXMan12 deleted the bug/incorrect-autoscaling-discovery-version branch May 15, 2017 16:23
@DirectXMan12 DirectXMan12 restored the bug/incorrect-autoscaling-discovery-version branch May 15, 2017 16:23
@DirectXMan12
Copy link
Contributor Author

This probably needs to be cherry-picked, right?

@deads2k
Copy link
Contributor

deads2k commented May 16, 2017

This probably needs to be cherry-picked, right?

yes

@derekwaynecarr derekwaynecarr added this to the v1.6 milestone May 16, 2017
k8s-github-robot pushed a commit that referenced this pull request May 17, 2017
…#45741-release-1.6

Automatic merge from submit-queue

Automated cherry pick of #45741

Cherry pick of #45741 on release-1.6.

#45741: Fix discovery version for autoscaling to be v1
@k8s-cherrypick-bot
Copy link

Commit found in the "release-1.6" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked.

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants