mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-06 01:51:14 +01:00
* declare all cluster create flags as constant variables
This unifies the code and can later be used to differentiate between darwin and linux supported flags.
* move cluster create flags to individual flagsets
This sorts the flags by provider and will allow to check if the correct provider's flags are passed
* move ipv6 flag to qemu flags
This flag is currently only supported on qemu, but the internal logic still assumes the possibility of ipv6 on other providers.
* programmatically add provider to create cluster flags
* this adds the provider to all the flags (some were missing)
* add the provider to the start of the description as it's the most important bit
* error if an invalid provider's flag is passed
note: this is a breaking change, but people who'll run into this will already have a broken or invalid system due to usning incorrect flags.
* remove deprecated "masters" flag
as we're making breaking changes anyway it makes sense to get rid of this as well.
Signed-off-by: Orzelius <33936483+Orzelius@users.noreply.github.com>