-
Notifications
You must be signed in to change notification settings - Fork 203
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
Improve error when SQL server doesn't have RG specified #1174
Conversation
pkg/resourcemanager/azuresql/azuresqlserver/azuresqlserver_reconcile.go
Outdated
Show resolved
Hide resolved
You could also put |
b327923
to
8e1a15f
Compare
I added some additional Kubebuilder validation |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
This did get quite repetitive; we could define a |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
@matthchr I think with this we may need some changes to the tests too. The pipeline failures seem valid.
e866b82
to
5ccf665
Compare
pkg/resourcemanager/azuresql/azuresqlserver/azuresqlserver_reconcile.go
Outdated
Show resolved
Hide resolved
5ccf665
to
7b1aacd
Compare
- They should be required, min length 1, and matching the specified Regex.
7b1aacd
to
185fb9b
Compare
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.
looks good!
This closes #1106
What this PR does / why we need it:
Improves ResourceGroup empty handling for SQL Server creation
Special notes for your reviewer:
None
Let me know if there should be a test here too.