Commit Graph

19 Commits

Author SHA1 Message Date
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
Ettore Di Giacinto
4740cd3e0e
⬆️ Bump rc (#320)
Signed-off-by: mudler <mudler@c3os.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-07 14:44:01 +02:00
Itxaka
f7d5d81013
⬆️ Bump deps to use kairos-sdk (#299)
First time bumping the provider, be gentle

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

---------

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-31 14:31:54 +02:00
Oz Tiram
70903fdec8
🌱 add version information directly from git (#175)
Partial fix for https://github.com/kairos-io/kairos/issues/643

Signed-off-by: Oz Tiram <oz@spectrocloud.com>
2023-01-17 10:19:43 +01:00
mudler
f6a509c752 🌱 Drop deprecated configs
Signed-off-by: mudler <mudler@c3os.io>
2022-12-27 20:49:09 +01:00
Mauro Morales
1d074c4fda
Upgrade urfave/cli and make register's config flag required (#146)
With the upgrade of the cli pkg, making flags required is very simple,
it just needs an attribute `required: true`

Fixes https://github.com/kairos-io/kairos/issues/375

⚠️ breaking UX change

> In v2 flags must come before args. This is more POSIX-compliant. You
may need to update scripts, user documentation, etc.

This means that 

```
provier-kairos command ARG FLAG
```

is no longer valid, but I still think the change is worth it because
like the documentation says, the CLI will be more POSIX-compliant

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: ci-robbot [bot] <105103991+ci-robbot@users.noreply.github.com>
Co-authored-by: mudler <mudler@users.noreply.github.com>
2022-12-27 19:29:01 +00:00
Oz N Tiram
9e6eead109
Check that QR file paths are readable and are not directories (#141)
This is a possible fix for
https://github.com/kairos-io/kairos/issues/568.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2022-12-21 16:05:33 +00:00
Oz N Tiram
a7e182b0ff
Fix broken documentation about pairing (#134)
Fix https://github.com/kairos-io/kairos/issues/509.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2022-12-19 14:53:00 +01:00
Ettore Di Giacinto
79fd3633a5 ⚠️ Change P2P configuration setting reference
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>
2022-12-09 16:36:30 +01:00
Ettore Di Giacinto
ce0c2f0929 🤖 Check out crond is running
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-11-28 15:38:59 +00:00
Ettore Di Giacinto
06556a31ec Use FindYAMLWithKey
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2022-11-28 14:37:08 +00:00
Ettore Di Giacinto
4a17cff5e0 🎨 Finalize rebranding
there were few places that still had c3OS references.
2022-09-19 09:59:28 +00:00
Ettore Di Giacinto
359ed271c7 🎨 Rebrand
See: https://github.com/c3os-io/c3os/issues/88
2022-09-16 15:42:45 +00:00
Ettore Di Giacinto
4c1228e722 🐛 Add absolute path for bash in recovery
Fixes https://github.com/c3os-io/provider-c3os/issues/1
2022-08-26 23:21:47 +00:00
mudler
94a32f31be 🎨 Move more components into the provider
Includes interactive-install and an actual implementation for the recovery
2022-08-16 12:46:57 +00:00
mudler
683787bd7e 🎨 Move vpn services here 2022-08-16 12:46:21 +00:00
mudler
5e1ba9265d Add recovery event 2022-08-16 12:45:27 +00:00
mudler
33eb2d9a84 🎨 Blend CLI into provider 2022-08-16 08:27:24 +00:00
mudler
8b8f28c91a 🎨 Initial import of provider code 2022-08-16 08:27:04 +00:00