Skip to content

Commit 6d1f4d3

Browse files
Backup ext kubeconfigs backing configmaps (#795)
Ref: rancher/rancher#50957
1 parent 6d88143 commit 6d1f4d3

File tree

1 file changed

+8
-0
lines changed
  • charts/rancher-backup/files/basic-resourceset-contents

1 file changed

+8
-0
lines changed

charts/rancher-backup/files/basic-resourceset-contents/rancher.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
kindsRegexp: "^configmaps$"
1212
namespaces:
1313
- "cattle-system"
14+
- apiVersion: "v1"
15+
kindsRegexp: "^configmaps$"
16+
namespaceRegexp: "^cattle-"
17+
labelSelectors:
18+
matchExpressions:
19+
- key: "cattle.io/kind"
20+
operator: "In"
21+
values: [ "kubeconfig" ]
1422
- apiVersion: "rbac.authorization.k8s.io/v1"
1523
kindsRegexp: "^roles$|^rolebindings$"
1624
namespaceRegexp: "^cattle-|^p-|^c-|^local$|^user-|^u-"

0 commit comments

Comments
 (0)