mirceanton / talswitcher

A simple tool to help manage multiple talosconfig files
MIT License
6 stars 0 forks source link

Automated tests #3

Closed mircea-pavel-anton closed 1 week ago

mircea-pavel-anton commented 1 week ago

Test suite:

  1. Setup: Create 2 talos clusters:
mkdir configs/
talosctl cluster create --name=talswitcher-1 --talosconfig=./configs/talos1.yaml --cidr=10.5.0.0/24
talosctl cluster create --name=talswitcher-2 --talosconfig=./configs/talos2.yaml --cidr=10.6.0.0/24
  1. Run talswitcher
export TALOSCONFIG_DIR=./configs/

go run . talswitcher-1
talosctl get members -n talswitcher-1-controlplane-1

go run . talswitcher-2
talosctl get members -n talswitcher-2-controlplane-1
mr-borboto[bot] commented 1 week ago

:tada: This issue has been resolved in version 1.1.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: