Commit Graph

4 Commits

Author SHA1 Message Date
Itxaka
fce2f59d75
Fix deps to avoid bringing unwanted libs on kairosctl binary (#502)
Signed-off-by: Itxaka <itxaka@kairos.io>
2023-12-13 11:45:48 +02:00
Mateusz Urbanek
72c01e2657
fix: bump go.mod path to v2 (#431)
The path in `go.mod` should be ended in `/v2` suffix, as per [go.mod
module version numbers](https://go.dev/doc/modules/version-numbers).

---------

Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
2023-07-03 21:07:41 +02:00
Mauro Morales
9e75c50a6d
Add missing commands to kairosctl (#393)
Adds the following commands, since they were documented but the command
was still only available in the agent:

- create-config
- generate-token

Introduces the `validate` command so users can use kairosctl also for
validations

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-05-26 11:18:44 +00:00
Mauro Morales
d88983a906
Extract some commands into kairosctl (#310)
This PR extracts the registration command into a `kairos-register`
binary of its own. The old sub command is kept so users can see a
deprecation notice and adapt for a future release when it's removed. The
version number is shared between binaries.

⚠️ I'm not entirely sure about the gorelease, and would benefit
from a couple of extra 👀 on this, thanks!

relates to kairos-io/kairos#1211

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
Co-authored-by: ci-robbot [bot] <105103991+ci-robbot@users.noreply.github.com>
Co-authored-by: mudler <mudler@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 11:04:15 +02:00