diff --git a/charts/rancher-backup/files/default-resourceset-contents/fleet.yaml b/charts/rancher-backup/files/default-resourceset-contents/fleet.yaml index a14125fe..7909be63 100644 --- a/charts/rancher-backup/files/default-resourceset-contents/fleet.yaml +++ b/charts/rancher-backup/files/default-resourceset-contents/fleet.yaml @@ -1,6 +1,13 @@ - apiVersion: "v1" kindsRegexp: "^namespaces$" resourceNameRegexp: "^fleet-" +- apiVersion: "v1" + kindsRegexp: "^namespaces$" + labelSelectors: + matchExpressions: + - key: "app.kubernetes.io/managed-by" + operator: "In" + values: ["rancher"] - apiVersion: "v1" kindsRegexp: "^secrets$" namespaceRegexp: "^cattle-fleet-|^fleet-"