UC Backups: "backup all namespaces" does not actually backup all namespaces #7032
Labels
customer-request
kind/bug
Categorizes issue or PR as related to a bug.
sig/api
Denotes a PR or issue as being assigned to SIG API.
sig/app-management
Denotes a PR or issue as being assigned to SIG App Management.
sig/ui
Denotes a PR or issue as being assigned to SIG UI.
What happened?
When creating a backup or backup schedule, it's possible to choose "all namespaces" (the default). However, KKP will then configure the backup to instead backup all namespaces that existed when the backup was created in the UI. In other words: the velero backup configuration will contain an explicit list of namespaces.
There are two problems with this:
Expected behavior
If "backup all namespaces" is selected, all namespaces, including those created in the future (for a backup schedule) are backed up. And by implication, all cluster scoped resources are backed up as well.
How to reproduce the issue?
velero backup get <name> -o json | jq .spec.includedNamespaces
This should not be set all all (or possibly an empty list / nil would be acceptable).
After the backup was executed, you'll also find such log lines:
How is your environment configured?
Provide your KKP manifest here (if applicable)
N/A
What cloud provider are you running on?
N/A
What operating system are you running in your user cluster?
N/A
Additional information
The text was updated successfully, but these errors were encountered: