Skip to content

Commit

Permalink
Suspend velero ks while restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Automatic Update committed Dec 13, 2024
1 parent 11afbcb commit 1bc7df7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/velero/restore/restore_apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ start_radix_operator() {
printf " Done.\n"
}

flux suspend ks -n flux-system velero
wait_for_velero "BackupStorageLocation default"
kubectl patch BackupStorageLocation default --namespace velero --type merge --patch "$(echo $PATCH_JSON)"

Expand Down Expand Up @@ -570,8 +571,10 @@ PATCH_JSON="$(
}
END
)"

# Set velero in read/write mode
kubectl patch BackupStorageLocation default --namespace velero --type merge --patch "$(echo $PATCH_JSON)"
flux resume ks -n flux-system velero

#######################################################################################
### Done!
Expand Down

0 comments on commit 1bc7df7

Please sign in to comment.