From d90ca5928c798af27416dc5b42e9838d2acb6d23 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Fri, 9 Jun 2023 10:42:04 +0300 Subject: [PATCH] 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 --- examples/nginx-app/base.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/nginx-app/base.yaml b/examples/nginx-app/base.yaml index b33ad373b..bcc44e04c 100644 --- a/examples/nginx-app/base.yaml +++ b/examples/nginx-app/base.yaml @@ -26,6 +26,8 @@ kind: Deployment metadata: name: nginx-deployment namespace: nginx-example + labels: + app: nginx spec: replicas: 2 selector: