openshift / openshift-velero-plugin

General Velero plugin for backup and restore of openshift workloads.
Apache License 2.0
48 stars 38 forks source link

Bug 1887526: only include pvc in volume mounts at stage restore of a pod #97

Closed JaydipGabani closed 3 years ago

JaydipGabani commented 3 years ago

This PR trim downs volumes and volume mounts to only PVCs while restoring pods in stage migration. Needed for the PR

Changes include:

  1. swapping container images with stage pod image and adding the command sleep to make the application pod look like stage pod
  2. trimming down the list of PVC to only the volumes that are required to copy over for containers of the pod.
dymurray commented 3 years ago

LGTM

openshift-ci[bot] commented 3 years ago

@JaydipGabani: All pull requests linked via external trackers have merged:

Bugzilla bug 1887526 has been moved to the MODIFIED state.

In response to [this](https://github.com/openshift/openshift-velero-plugin/pull/97): >Bug 1887526: only include pvc in volume mounts at stage restore of a pod Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.