-
Notifications
You must be signed in to change notification settings - Fork 178
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
ARO-6425 v20240812preview validation #3537
ARO-6425 v20240812preview validation #3537
Conversation
This will enable OpenShiftClusterProperties.ServicePrincipalProfile to be set to nil
@microsoft-github-policy-service agree company="Red Hat" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The validation code looks good to me. I'm going to attach a hold
label here just so we don't collide with ongoing changes in https://github.com/Azure/ARO-RP/pull/3529/files. thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR! I recommended some small changes to the validation logic. I'll review again once #3529 has been merged,
pkg/api/v20240812preview/openshiftcluster_validatestatic_test.go
Outdated
Show resolved
Hide resolved
pkg/api/v20240812preview/openshiftcluster_validatestatic_test.go
Outdated
Show resolved
Hide resolved
CI is broken on forks so this PR will need to be moved to a branch off the main RP repo. |
closing this in favor of #3563 |
Which issue this PR addresses:
For ARO-6425
What this PR does / why we need it:
Adds static validation for new API fields added in v20240812preview
Test plan for issue:
Includes unit tests for the new static validation features.
Is there any documentation that needs to be updated for this PR?
No, this is just static validation to ensure inputs are as expected.
How do you know this will function as expected in production?
Unit test data has been written to match expected inputs but nonetheless this should be tested in a lower environment before being pushed to production