From a73ae222a4d3b23bd5cb8ce66b7d7efa4f95ce7a Mon Sep 17 00:00:00 2001 From: zhujian Date: Wed, 29 Nov 2023 09:40:04 +0000 Subject: [PATCH] exclude managedclusterset and binding from backup Signed-off-by: zhujian --- ...sters.open-cluster-management.io_managedclustersets.crd.yaml | 2 ++ ...pen-cluster-management.io_managedclustersetbindings.crd.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/manifests/cluster-manager/hub/0000_00_clusters.open-cluster-management.io_managedclustersets.crd.yaml b/manifests/cluster-manager/hub/0000_00_clusters.open-cluster-management.io_managedclustersets.crd.yaml index cad76cd6c61..983c56efc58 100644 --- a/manifests/cluster-manager/hub/0000_00_clusters.open-cluster-management.io_managedclustersets.crd.yaml +++ b/manifests/cluster-manager/hub/0000_00_clusters.open-cluster-management.io_managedclustersets.crd.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: managedclustersets.cluster.open-cluster-management.io + labels: + velero.io/exclude-from-backup: "true" spec: conversion: strategy: Webhook diff --git a/manifests/cluster-manager/hub/0000_01_clusters.open-cluster-management.io_managedclustersetbindings.crd.yaml b/manifests/cluster-manager/hub/0000_01_clusters.open-cluster-management.io_managedclustersetbindings.crd.yaml index bf35bb40619..92c1bfb0075 100644 --- a/manifests/cluster-manager/hub/0000_01_clusters.open-cluster-management.io_managedclustersetbindings.crd.yaml +++ b/manifests/cluster-manager/hub/0000_01_clusters.open-cluster-management.io_managedclustersetbindings.crd.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: managedclustersetbindings.cluster.open-cluster-management.io + labels: + velero.io/exclude-from-backup: "true" spec: group: cluster.open-cluster-management.io names: