Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Add Velero namespace setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Heavybullets8 committed Dec 26, 2023
1 parent ab276a5 commit c108f48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/menu/velero.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ velero_set_conf() {
echo -e "${red}Failed to set Velero kubeconfig.${reset}"
fi

echo -e "\nSetting Velero namespace..."
namespace="ix-$(velero_app_find)"
if [[ "$namespace" != "ix-NULL" ]]; then
if "$USER_HOME"/bin/velero client config set namespace="$namespace"; then
Expand Down

0 comments on commit c108f48

Please sign in to comment.