velero
velero copied to clipboard
Enable configuring default exclude namespaces when installing velero server.
Describe the problem/challenge you have When we have installed velero server from helm chart or simply velero install CLI command, where is no way to pre-configure the exclude namespaces.
Why I raise this issue is due to that, when I run cmd "velero backup create ***", I always need to exclude certain namespaces. And either I can not update the velero helm chart to pre-define the exclude-namespace.
Describe the solution you'd like [A clear and concise description of what you want to happen.] It is expected that I can pre-define exclude-namespaces when I install velero server.
Anything else you would like to add: N/A
Environment:
-
Velero version (use
velero version
): v1.8.1 -
Kubernetes version (use
kubectl version
):
kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.2", GitCommit:"092fbfbf53427de67cac1e9fa54aaa09a28371d7", GitTreeState:"clean", BuildDate:"2021-06-16T12:59:11Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.8+vmware.2", GitCommit:"d625665700d901401d7504761cf473dd8adfc7b3", GitTreeState:"clean", BuildDate:"2022-07-18T23:04:08Z", GoVersion:"go1.17.11", Compiler:"gc", Platform:"linux/amd64"}
- OS (e.g. from
/etc/os-release
): $ cat /etc/os-release NAME="VMware Photon OS" VERSION="3.0" ID=photon VERSION_ID=3.0 PRETTY_NAME="VMware Photon OS/Linux" ANSI_COLOR="1;34" HOME_URL="https://vmware.github.io/photon/" BUG_REPORT_URL="https://github.com/vmware/photon/issues"
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
- :+1: for "The project would be better with this feature added"
- :-1: for "This feature will not enhance the project in a meaningful way"
Personally, I find this requirement way too opinionated. You can write a script to add the param --exclude-namespaces
to the CLI or write a program to trigger your backup via the CRD.
I'll put this in "Icebox" until we see this is a very common requirement.