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

Add NumaflowControllerRollout CRD name validation #47

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

chandankumar4
Copy link
Contributor

Fixes #7

Modifications

  • Add CRD validation to support only name for numaflowControllerRollout to prevent having more than 1 resource in a namespace

Verification

  • Verified in local kubernetes cluster

@xdevxy xdevxy marked this pull request as ready for review June 11, 2024 21:10
Copy link
Contributor

@xdevxy xdevxy left a comment

Choose a reason for hiding this comment

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

In the unit test you are working one, we can add a test case for it. Thanks!

@xdevxy xdevxy merged commit 32a16d8 into numaproj:main Jun 11, 2024
4 checks passed
@chandankumar4 chandankumar4 deleted the crd-validation branch June 12, 2024 03:55
@chandankumar4
Copy link
Contributor Author

In the unit test you are working one, we can add a test case for it. Thanks!

Sure, Have created a separate PR for it: #53

darshansimha referenced this pull request in darshansimha/numaplane Jun 25, 2024
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.

Prevent more than 1 NumaflowControllerRollout on a namespace
2 participants