File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,14 +76,14 @@ upgrade_kubernetes() {
76
76
./talosctl-" ${server_version} " -n $SERVER_IP -e $SERVER_IP upgrade-k8s --to $NEXT_VERSION
77
77
}
78
78
79
- if [ " $UPGRADE_TALOS " = " true" ] && [ " $UPGRADE_KUBERENTES " = " true" ] ; then
79
+ if [ " $UPGRADE_TALOS " == " true" ] && [ " $UPGRADE_KUBERENTES " = = " true" ] ; then
80
80
echo " Cannot upgrade both Talos and Kubernetes at the same time."
81
81
exit 0
82
- elif [ " $UPGRADE_TALOS " = " true" ]; then
82
+ elif [ " $UPGRADE_TALOS " == " true" ]; then
83
83
check_talos_version_existence
84
84
check_talosctl_version
85
85
upgrade_talos
86
- elif [ " $UPGRADE_KUBERENTES " = " true" ]; then
86
+ elif [ " $UPGRADE_KUBERENTES " == " true" ]; then
87
87
check_talosctl_version
88
88
get_current_k8s_version
89
89
upgrade_kubernetes
You can’t perform that action at this time.
0 commit comments