Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

don't require specifying a plan when creating an instance #2016

Merged
merged 1 commit into from
May 8, 2018

Conversation

jboyd01
Copy link
Contributor

@jboyd01 jboyd01 commented May 3, 2018

closes #2015

We regressed functionality by enforcing that a plan is specified when an instance is provisioned. If no plan is specified, the default service plan admission controller will validate and assign the only plan that is associated with the specified class or it will return an error indicating there is no default plan.

@carolynvs could you please review and make sure you agree with this change? The validations were added in #1756

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 3, 2018
@jboyd01 jboyd01 requested a review from carolynvs May 3, 2018 15:52
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 3, 2018
Copy link
Contributor

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

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

LGTM, sorry for the regression! 😊

@carolynvs carolynvs added the LGTM1 label May 8, 2018
@jboyd01
Copy link
Contributor Author

jboyd01 commented May 8, 2018

Thanks for the review @carolynvs, I just wanted to be certain it wasn't intentional.

@pmorie
Copy link
Contributor

pmorie commented May 8, 2018 via email

@jboyd01
Copy link
Contributor Author

jboyd01 commented May 8, 2018

There are unit tests for this in #2016 and also in the e2e exercises this, once we get that re-enabled in #2018 I'll ensure its back to testing the default plan.

@jpeeler jpeeler added the LGTM2 label May 8, 2018
@jpeeler jpeeler merged commit 00e674a into kubernetes-retired:master May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. LGTM1 LGTM2 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.

E2E is broken by validations that enforce a plan is specified during provisioning
5 participants