Skip to content

Commit

Permalink
add support for upgrading edge cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrr committed Jan 29, 2024
1 parent 9a04888 commit ab4e969
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upgrade_edge/upgrade_edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
# UPGRADE_KUBERENTES="true"

echo $UPGRADE_KUBERNETES
echo $TALOS_VERSION
if [ "$UPGRADE_KUBERNETES" != "true" ] && [ "$UPGRADE_TALOS" != "true" ]; then
echo "None of the variables UPGRADE_KUBERNETES or UPGRADE_TALOS has been set to true (true as a string, not a boolean), exiting without any upgrading"
echo $UPGRADE_KUBERENTES
Expand Down Expand Up @@ -85,6 +86,7 @@ elif [ "$UPGRADE_TALOS" = "true" ]; then
check_talosctl_version
upgrade_talos
elif [ "$UPGRADE_KUBERNETES" = "true" ]; then
check_talos_version_existence
check_talosctl_version
get_current_k8s_version
upgrade_kubernetes
Expand Down

0 comments on commit ab4e969

Please sign in to comment.