velero/changelogs
Bridget McErlean 0246a32ad0
Use pod namespace from backup when matching PVBs (#3475)
* Use pod namespace from backup when matching PVBs

In #3051, we introduced an additional check to ensure that a PVB matched
a particular pod by checking both the name and the namespace of the pod.
This caused an issue when using a namespace mapping on restore. In the
case where a namespace mapping is being used, the check for whether a
PVB matches a particular pod will fail as the PVB was created for the
original pod namespace and is not aware of the new namespace mapping
being used. This resulted in PVRs not being created for pods that were
being restored into new namespaces. The restic init containers were
being created to wait on the volume restore, however this would cause
the restored pods to block indefinitely as they would be waiting for a
volume restore that was not scheduled.

To fix this, we use the original namespace of the pod from the backup to
match the PVB to the pod being restored, not the new namespace where
the pod is being restored into.

Fixes #3467.

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>

* Explain why the namespace mapping can't be used

Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
2021-02-22 11:16:00 -08:00
..
unreleased Use pod namespace from backup when matching PVBs (#3475) 2021-02-22 11:16:00 -08:00
3409-nrb Add changelog entry 2021-02-05 14:00:09 -05:00
CHANGELOG-0.3.md adjust changelog layout 2018-11-16 16:00:35 -05:00
CHANGELOG-0.4.md adjust changelog layout 2018-11-16 16:00:35 -05:00
CHANGELOG-0.5.md Fix various typos found by codespell (#3057) 2020-11-10 11:48:35 -05:00
CHANGELOG-0.6.md adjust changelog layout 2018-11-16 16:00:35 -05:00
CHANGELOG-0.7.md adjust changelog layout 2018-11-16 16:00:35 -05:00
CHANGELOG-0.8.md Rename Ark to Velero!!! 2019-02-04 17:35:22 -05:00
CHANGELOG-0.9.md Fix various typos found by codespell (#3057) 2020-11-10 11:48:35 -05:00
CHANGELOG-0.10.md Address insensitive language (#2677) 2020-07-17 14:59:51 -07:00
CHANGELOG-0.11.md v0.11.1 changelog 2019-05-15 09:45:19 -07:00
CHANGELOG-1.0.md add 1.0 changelog 2019-05-19 13:42:16 -06:00
CHANGELOG-1.1.md Fix various typos found by codespell (#3057) 2020-11-10 11:48:35 -05:00
CHANGELOG-1.2.md v1.2.0 changelog 2019-11-07 08:20:22 -07:00
CHANGELOG-1.3.md Fix various typos found by codespell (#3057) 2020-11-10 11:48:35 -05:00
CHANGELOG-1.4.md Update changelogs for v1.4.2 (#2705) 2020-07-21 11:14:41 -07:00
CHANGELOG-1.5.md Add changelog and docs for v1.5 release (#2941) 2020-09-16 17:17:30 -04:00