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

feat(experiment): Restore of remote backup in different namespace #366

Merged
merged 1 commit into from
May 27, 2020
Merged

feat(experiment): Restore of remote backup in different namespace #366

merged 1 commit into from
May 27, 2020

Conversation

shashank855
Copy link
Contributor

Signed-off-by: awesomeshashank855 [email protected]

What this PR does / why we need it:

  • Extends experiment to check functionality of remote restore in different namespace.

Which issue this PR fixes *

Following the log of Ansible test container
https://gist.github.com/shashank855/8f97a2e8a4fa9771215e90d69a874212

Special notes for your reviewer:

@@ -16,7 +16,7 @@ spec:
restartPolicy: Never
containers:
- name: ansibletest
image: openebs/ansible-runner:ci
image: ranjnshashank855/test-vel:v2
Copy link
Contributor

Choose a reason for hiding this comment

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

update the image

register: volume_name

when: lookup('env','RESTORE_IN_DIFF_NAMESPACE') == "true"

- name: Getting the target IP
shell: kubectl get pod -n {{ operator_ns }} -l openebs.io/persistent-volume={{ volume_name.stdout }} -o jsonpath='{.items[0].status.podIP}'
Copy link
Contributor

Choose a reason for hiding this comment

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

service IP can be used

Copy link
Contributor

@mynktl mynktl left a comment

Choose a reason for hiding this comment

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

looks good.

@gprasath gprasath merged commit 9665085 into openebs-archive:master May 27, 2020
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.

3 participants