mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
Add include/exclude policy to resources policy
fixes #8610 This commit extends the resources policy, such that user can define resource include exclude filters in the policy and reuse it in different backups. Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com>
This commit is contained in:
@@ -32,9 +32,10 @@ Backup Template:
|
||||
Excluded: <none>
|
||||
|
||||
Resources:
|
||||
Included: *
|
||||
Excluded: <none>
|
||||
Cluster-scoped: auto
|
||||
Included cluster-scoped: <none>
|
||||
Excluded cluster-scoped: <none>
|
||||
Included namespace-scoped: *
|
||||
Excluded namespace-scoped: <none>
|
||||
|
||||
Label selector: <none>
|
||||
|
||||
@@ -81,9 +82,10 @@ Backup Template:
|
||||
Excluded: <none>
|
||||
|
||||
Resources:
|
||||
Included: *
|
||||
Excluded: <none>
|
||||
Cluster-scoped: auto
|
||||
Included cluster-scoped: <none>
|
||||
Excluded cluster-scoped: <none>
|
||||
Included namespace-scoped: *
|
||||
Excluded namespace-scoped: <none>
|
||||
|
||||
Label selector: <none>
|
||||
|
||||
@@ -127,9 +129,10 @@ Backup Template:
|
||||
Excluded: <none>
|
||||
|
||||
Resources:
|
||||
Included: *
|
||||
Excluded: <none>
|
||||
Cluster-scoped: auto
|
||||
Included cluster-scoped: <none>
|
||||
Excluded cluster-scoped: <none>
|
||||
Included namespace-scoped: *
|
||||
Excluded namespace-scoped: <none>
|
||||
|
||||
Label selector: <none>
|
||||
|
||||
@@ -174,9 +177,10 @@ Backup Template:
|
||||
Excluded: <none>
|
||||
|
||||
Resources:
|
||||
Included: *
|
||||
Excluded: <none>
|
||||
Cluster-scoped: auto
|
||||
Included cluster-scoped: <none>
|
||||
Excluded cluster-scoped: <none>
|
||||
Included namespace-scoped: *
|
||||
Excluded namespace-scoped: <none>
|
||||
|
||||
Label selector: <none>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user