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

Support split weights that have a value of 0 #349

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

thisisnotashwin
Copy link
Contributor

@thisisnotashwin thisisnotashwin commented Oct 5, 2020

Changes proposed in this PR:

  • Add support for service splits having 0 weight

How I've tested this PR: unit tests, Cody tested an image with this fix which worked for his demo

How I expect reviewers to test this PR: Try creating a service split that has 0 weight. The webhook should not prevent the resource from getting created.

Checklist:

  • Tests added

@thisisnotashwin thisisnotashwin merged commit 5ecc0d4 into crd-controller-base Oct 5, 2020
@thisisnotashwin thisisnotashwin deleted the support-0-splits branch October 5, 2020 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants