Describe the bug
Currently, there is not much difference between Install and Upgrade functionality. Install with modified configuration does an Upgrade as well.
To Reproduce
Steps to reproduce the behavior:
Create a cluster with tk8 cluster install rke/aws.
Modify config.yaml and run tk8 cluster install rke/aws.
The above operation should be only an Upgrade and not Install.
Expected behaviorInstall should only set up a cluster and infra if there is no current cluster with the same name.
Upgrade should only work if there is an existing cluster.
Describe the bug Currently, there is not much difference between
Install
andUpgrade
functionality.Install
with modified configuration does anUpgrade
as well.To Reproduce Steps to reproduce the behavior:
tk8 cluster install rke/aws
.config.yaml
and runtk8 cluster install rke/aws
.Upgrade
and notInstall
.Expected behavior
Install
should only set up a cluster and infra if there is no current cluster with the same name.Upgrade
should only work if there is an existing cluster.