Skip to content

Commit

Permalink
examples: Label the deployment to get it backed up (#6348)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nirs authored Jun 9, 2023
1 parent 89c10dd commit d90ca59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/nginx-app/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ kind: Deployment
metadata:
name: nginx-deployment
namespace: nginx-example
labels:
app: nginx
spec:
replicas: 2
selector:
Expand Down

0 comments on commit d90ca59

Please sign in to comment.