Skip to content

Commit

Permalink
exclude managedclusterset crd from backup
Browse files Browse the repository at this point in the history
Signed-off-by: zhujian <[email protected]>
  • Loading branch information
zhujian7 committed Nov 29, 2023
1 parent ea7d47d commit 5c1e53d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@
conversionReviewVersions:
- v1beta1
- v1beta2
- op: add
path: /metadata/labels
value:
velero.io/exclude-from-backup: "true"
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
labels:
velero.io/exclude-from-backup: "true"
name: managedclustersets.cluster.open-cluster-management.io
spec:
conversion:
Expand Down

0 comments on commit 5c1e53d

Please sign in to comment.