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

Issue#858 Add Vnet to Storage Account #904

Merged
merged 36 commits into from
Apr 17, 2020

Conversation

buhongw7583c
Copy link
Contributor

@buhongw7583c buhongw7583c commented Apr 8, 2020

Closes #858

What this PR does / why we need it:
This PR is to add Vnet functions to storage account, and also handle the "asynchronous operation has not completed" in a graceful way.

Special notes for your reviewer:

  • Add the network rules when deploy storage account. With the successful deployment, you should be able to get the virtual network information like this.

image

  • Since current service operator cannot automatically create private endpoint, in the controller test, not able to test the 'happy' path to create storage account with network rule, so could only test the failure case instead. Will open another task to complete the controller test.
  • Using polling url, the 'asynchronous operation has not completed' error shall be handled in a good manner and shouldn't produce confusing message in the status.

How does this PR make you feel:
gif

If applicable:

  • this PR contains documentation
  • this PR contains tests

@jananivMS
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@frodopwns frodopwns self-requested a review April 10, 2020 16:12
Copy link
Contributor

@frodopwns frodopwns left a comment

Choose a reason for hiding this comment

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

some initial comments before I get into actual testing

config/samples/azure_v1alpha1_storage.yaml Outdated Show resolved Hide resolved
config/samples/azure_v1alpha1_storage.yaml Outdated Show resolved Hide resolved
pkg/resourcemanager/storages/storageaccount/storage.go Outdated Show resolved Hide resolved
optional: true
#requeue after time in seconds"
- name: REQUEUE_AFTER
value: "30"
Copy link
Contributor

Choose a reason for hiding this comment

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

this file should be removed...I think the -e files are related to errors

Copy link
Contributor

@frodopwns frodopwns left a comment

Choose a reason for hiding this comment

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

lgtm

@buhongw7583c buhongw7583c merged commit 5b957e6 into Azure:master Apr 17, 2020
@buhongw7583c buhongw7583c deleted the issue#858 branch April 17, 2020 07:00
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.

Task: Add ability for storage account to be configured in specified VNET
4 participants