-
Notifications
You must be signed in to change notification settings - Fork 332
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
Fixed issue #232 Added Volume mount support for container instances #338
Fixed issue #232 Added Volume mount support for container instances #338
Conversation
Hi @Fred-sun |
|
image: httpd | ||
memory: 1.5 | ||
volume_mounts: | ||
- name: filesharevolume |
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.
How did this account name ? It can't access?
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.
Hi @Fred-sun Apologies, I didn't get your question. Could you please elaborate your question so that I can understand it better and take the action? Thank you!
FYI - I am referring to this document for Azure file volumes - https://docs.microsoft.com/en-us/azure/container-instances/container-instances-volume-azure-files
On line no. 165 volumes specification is initialized and there we have specified three parameters (storage_account_name, share_name and storage_account_key) which are needed in order to mount azure file volume on container instance
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.
Hi @Fred-sun Could you please guide me here to understand what changes are required for line no. 160? Thanks for your help!
Hi @Fred-sun , Done - updated this file. Thank you! |
Hi @Fred-sun , Could you please help provide your feedback on this PR ? Kindly let me know if any more changes are required ? Will incorporate those changes. |
Hello @Fred-sun , Could you please help review this PR whenever you get some time? Thank you |
tests/integration/targets/azure_rm_containerinstance/tasks/main.yml
Outdated
Show resolved
Hide resolved
@aparna-patil Please!
|
…ub.com/aparna-patil/azure into 232-volumeSupportForContainerInstances
Hi @Fred-sun , Updated sanity check files. Thank you. Could you please help review the PR again post changes? |
@Fred-sun Could you kindly check on this PR? |
@Ompragash Okay! I'm working! Thank you very much! |
Hi @Fred-sun Could you please help me review and push these changes? This feature is stuck from long time, please help me... |
Hi @Fred-sun resolved merge conflicts and corrected Sharing the local integration test results below. Could you please help review once again? Thank you!
|
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.
@aparna-patil Could you please help to authorize me to update this PR? Thank you very much!
@Fred-sun Provided the access, could you please verify once? Thank you! |
@aparna-patil Can you execute the test case as follows? The result of my arrival was fail。
|
@Fred-sun Sure, let me try this way.. Could you please share the failure details for reference? |
@aparna-patil Okay, I'll share it with you later. |
@aparna-patil Can you help resolve conflicting files? I will move forward with the merger as soon as possible. Thank you very much! |
@Fred-sun Done, Resolved merge conflicts. Thank you! |
@aparna-patil Thanks for your udpate! I will push for merged as soon as possible! |
@aparna-patil Can you help resolve conflicting files? I will move forward with the merger as soon as possible. Thank you very much! |
@Fred-sun Done! resolved merge conflicts. Thank you! |
Hi @Fred-sun Could you please help push this for merge whenever you get time? Actually this PR is stuck from last year. Thank you very much for your help! |
@aparna-patil I'm working on it. Thank you very much! |
LGTM |
…ntainer instances (ansible-collections#338) * Fixed issue ansible-collections#232 Added Volume mount support for container instances * Updated Sanity test file * Changed the name for filesharevolume * Updated sanity files and tests file as per review comments * Updated integration tests * updated sanity test file * Ignore errors in the test cases * fix sanity error Co-authored-by: Fred-sun <37327967+Fred-sun@users.noreply.github.com> Co-authored-by: Fred-sun <xiuxi.sun@qq.com>
SUMMARY
This pull request adds support for mounting volumes in container instance. With this feature, following types of Volumes can be mounted :
Fixes #232
ISSUE TYPE
COMPONENT NAME
azure_rm_containerinstance
azure_rm_containerinstance_info
ADDITIONAL INFORMATION
Reference : https://docs.microsoft.com/en-us/rest/api/container-instances/containergroups/createorupdate#volume