mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 06:15:21 +00:00
examples: Label the deployment to get it backed up (#6348)
Following the examples instructions[1], the nginx-deployment is not backed up or restored. Add a label to the deployment so it will be backed up and restored. Similar change is needed for `examples/nginx-app/with-pv.yaml` but I did not try that example. [1] https://velero.io/docs/v1.11/contributions/minio/ Fixes #6347 Signed-off-by: Nir Soffer <nsoffer@redhat.com>
This commit is contained in:
@@ -26,6 +26,8 @@ kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
namespace: nginx-example
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
|
||||
Reference in New Issue
Block a user