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

feat: Allow NodeBalancer creation without config #9472

Merged

Conversation

zliang-akamai
Copy link
Member

@zliang-akamai zliang-akamai commented Jul 31, 2023

Description 📝

A configuration is not strictly required when invoking the NodeBalancer creation API, and only the region is required. I think it would be nicer if we can do the same thing in cloud manager. I think sometimes an user may want to create a nodebalancer and config it later, and this might be able to make their work easier.

curl -H "Content-Type: application/json" \
    -H "Authorization: Bearer $TOKEN" \
    -X POST -d '{"region": "us-central"}' https://api.linode.com/v4/nodebalancers 

I am not familiar with the development of cloud manager, so please feel free to close the PR this change is not desired, or commit to this branch if there is anything else you guys would like to add.

Major Changes 🔄

  • Allow NodeBalancer creation without config

Preview 📷

Before After
image image

How to test 🧪

Not sure

@bnussman-akamai bnussman-akamai added Add'tl Approval Needed Waiting on another approval! and removed Ready for Review labels Aug 1, 2023
@zliang-akamai
Copy link
Member Author

zliang-akamai commented Aug 1, 2023

@bnussman I am not sure why the CI is failing... Should I fix it or it's something unrelated? I can't see the details of the CI run neither.

@bnussman-akamai
Copy link
Member

@zliang-akamai Don't worry about that check that is failing. Our e2e tests only run for members of our team. It's not really a failure. It's just failing due to a lack of permissions.

Your PR passes all of our other checks and our UX team is good with your changes! ✅

Copy link
Contributor

@coliu-akamai coliu-akamai left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Aug 1, 2023
@zliang-akamai
Copy link
Member Author

zliang-akamai commented Aug 2, 2023

@bnussman-akamai Thanks for generating the change set for this PR, sorry about didn't realize it was needed 😅

And since I don't have the write access to this repo, can you help me to merge it if it's fully approved? Thank you!

@bnussman-akamai bnussman-akamai merged commit 35a28b2 into linode:develop Aug 2, 2023
@zliang-akamai zliang-akamai deleted the zhiwei/allow-nb-0config-creation branch August 2, 2023 15:16
jaalah-akamai pushed a commit that referenced this pull request Aug 7, 2023
* Allow node balancer creation without config

* Added changeset: NodeBalancers can be created without a configuration

---------

Co-authored-by: Banks Nussman <[email protected]>
jaalah-akamai pushed a commit that referenced this pull request Aug 7, 2023
* Allow node balancer creation without config

* Added changeset: NodeBalancers can be created without a configuration

---------

Co-authored-by: Banks Nussman <[email protected]>
jaalah-akamai pushed a commit that referenced this pull request Aug 8, 2023
* Allow node balancer creation without config

* Added changeset: NodeBalancers can be created without a configuration

---------

Co-authored-by: Banks Nussman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants