-
Task
-
Resolution: Done
-
Normal
-
None
-
ACM 2.12.0
With the ACM restore resource you can use at the moment the following velero restore options
We want to add support for other options such as include/exclude by labelSelector, orLabelSelectors, namespaceMapping, includeResources, includeNamespaces
// velero option - RestorePVs specifies whether to restore all included
// PVs from snapshot (via the cloudprovider).
// +optional
// +nullable
RestorePVs*bool`json:"restorePVs,omitempty"`
// velero option - RestoreStatus specifies which resources we should restore the status
// field. If nil, no objects are included. Optional.
// +optional
// +nullable
RestoreStatus*veleroapi.RestoreStatusSpec`json:"restoreStatus,omitempty"`
// velero option - PreserveNodePorts specifies whether to restore old nodePorts from backup.
// +optional
// +nullable
PreserveNodePorts*bool`json:"preserveNodePorts,omitempty"`
// velero option - Hooks represent custom behaviors that should be executed during or post restore.
// +optional
Hooksveleroapi.RestoreHooks`json:"hooks,omitempty"`
// ExcludedNamespaces contains a list of namespaces that are not
// included in the restore.
// +optional
// +nullable
ExcludedNamespaces []string`json:"excludedNamespaces,omitempty"`
// ExcludedResources is a slice of resource names that are not
// included in the restore.
// +optional
// +nullable
ExcludedResources []string`json:"excludedResources,omitempty"`