Mauro Morales
dbc64e9d49
Test goreleaser/upgrade to go1.18 ( #155 )
...
- upgrade go version to 1.18 to fix
https://github.com/kairos-io/kairos/issues/589
- add a mechanism to test gorelease by prefixing your branch with
`test-goreleaser/`
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com >
2022-12-27 23:09:41 +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
mudler
8338402905
🌱 Be consistent and respect MinNodes in the service
...
Signed-off-by: mudler <mudler@c3os.io >
2022-12-27 20:27:15 +01:00
mudler
e08e67e69c
⬆️ Bump go-nodepair and edgevpn
2022-12-27 20:24:47 +01:00
ci-robbot [bot]
80bf6189ea
K3s versions bump ( #153 )
...
Keep track of stable releases
Signed-off-by: GitHub <noreply@github.com >
Co-authored-by: mudler <mudler@users.noreply.github.com >
v1.4.0
2022-12-27 13:49:02 +01:00
Ettore Di Giacinto
1b36eeb87e
🤖 Add debian flavor
...
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com >
2022-12-27 13:47:11 +01:00
ci-robbot [bot]
f5e1ea65a2
⬆️ Kairos core image bump ( #152 )
...
Update of the Kairos core image tag
Signed-off-by: GitHub <noreply@github.com >
Co-authored-by: mudler <mudler@users.noreply.github.com >
2022-12-27 12:14:05 +01:00
ci-robbot [bot]
63f712580e
Repositories bump ( #149 )
...
Bump of luet repositories
Signed-off-by: GitHub <noreply@github.com >
Co-authored-by: mudler <mudler@users.noreply.github.com >
2022-12-25 15:02:46 +01:00
Ettore Di Giacinto
05213f04b0
🐛 Fixup detection if block is missing ( #143 )
...
p2p block is optional, thus we might panic otherwise here
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com >
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com >
2022-12-22 09:19:24 +01: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
ci-robbot [bot]
fe264ac971
Repositories bump ( #140 )
...
Bump of luet repositories
Signed-off-by: GitHub <noreply@github.com >
Co-authored-by: mudler <mudler@users.noreply.github.com >
2022-12-21 10:56:02 +01:00
renovate[bot]
f19436a857
Update module golang.org/x/crypto to v0.4.0 ( #125 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/crypto](https://togithub.com/golang/crypto ) | require |
minor | `v0.2.0` -> `v0.4.0` |
---
### Release Notes
<details>
<summary>golang/crypto</summary>
###
[`v0.4.0`](https://togithub.com/golang/crypto/compare/v0.3.0...v0.4.0 )
[Compare
Source](https://togithub.com/golang/crypto/compare/v0.3.0...v0.4.0 )
###
[`v0.3.0`](https://togithub.com/golang/crypto/compare/v0.2.0...v0.3.0 )
[Compare
Source](https://togithub.com/golang/crypto/compare/v0.2.0...v0.3.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNTQuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-19 15:54:44 +01: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
renovate[bot]
df9a721a05
Update module go.uber.org/zap to v1.24.0 ( #105 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [go.uber.org/zap](https://togithub.com/uber-go/zap ) | require | minor
| `v1.23.0` -> `v1.24.0` |
---
### Release Notes
<details>
<summary>uber-go/zap</summary>
### [`v1.24.0`](https://togithub.com/uber-go/zap/releases/tag/v1.24.0 )
[Compare
Source](https://togithub.com/uber-go/zap/compare/v1.23.0...v1.24.0 )
Enhancements:
- [#​1148][]: Add `Level` to both `Logger` and `SugaredLogger`
that reports the
current minimum enabled log level.
- [#​1185][]: `SugaredLogger` turns errors to zap.Error
automatically.
Thanks to [@​Abirdcfly](https://togithub.com/Abirdcfly ),
[@​craigpastro](https://togithub.com/craigpastro ),
[@​nnnkkk7](https://togithub.com/nnnkkk7 ), and
[@​sashamelentyev](https://togithub.com/sashamelentyev ) for their
contributions to this release.
[#​1148]: https://togithub.com/uber-go/zap/pull/1148
[#​1185]: https://togithub.com/uber-go/zap/pull/1185
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40Mi4wIiwidXBkYXRlZEluVmVyIjoiMzQuNDIuMCJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:34:44 +01:00
P Stark
6d5b871226
Fix link to image support matrix in the docs. ( #113 )
...
see title
2022-12-16 15:34:03 +01:00
renovate[bot]
ebac89fad7
Update module github.com/samber/lo to v1.37.0 ( #133 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/samber/lo](https://togithub.com/samber/lo ) | require |
minor | `v1.36.0` -> `v1.37.0` |
---
### Release Notes
<details>
<summary>samber/lo</summary>
### [`v1.37.0`](https://togithub.com/samber/lo/releases/tag/v1.37.0 )
[Compare
Source](https://togithub.com/samber/lo/compare/v1.36.0...v1.37.0 )
Adding:
- lo.PartialX
- lo.Transaction
Improvement:
- lo.Associate / lo.SliceToMap: faster memory allocation
Chore:
- Remove \*\_test.go files from releases, in order to cleanup dev
dependencies
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNTQuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:33:28 +01:00
renovate[bot]
174e4aed1b
Update module github.com/onsi/gomega to v1.24.2 ( #131 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/onsi/gomega](https://togithub.com/onsi/gomega ) | require |
patch | `v1.24.1` -> `v1.24.2` |
---
### Release Notes
<details>
<summary>onsi/gomega</summary>
### [`v1.24.2`](https://togithub.com/onsi/gomega/releases/tag/v1.24.2 )
[Compare
Source](https://togithub.com/onsi/gomega/compare/v1.24.1...v1.24.2 )
#### 1.24.2
##### Fixes
- Correctly handle assertion failure panics for eventually/consistnetly
"g Gomega"s in a goroutine
\[[`78f1660`](https://togithub.com/onsi/gomega/commit/78f1660 )]
- docs:Fix typo "you an" -> "you can"
([#​607](https://togithub.com/onsi/gomega/issues/607 ))
\[[`3187c1f`](https://togithub.com/onsi/gomega/commit/3187c1f )]
- fixes issue [#​600](https://togithub.com/onsi/gomega/issues/600 )
([#​606](https://togithub.com/onsi/gomega/issues/606 ))
\[[`808d192`](https://togithub.com/onsi/gomega/commit/808d192 )]
##### Maintenance
- Bump golang.org/x/net from 0.2.0 to 0.4.0
([#​611](https://togithub.com/onsi/gomega/issues/611 ))
\[[`6ebc0bf`](https://togithub.com/onsi/gomega/commit/6ebc0bf )]
- Bump nokogiri from 1.13.9 to 1.13.10 in /docs
([#​612](https://togithub.com/onsi/gomega/issues/612 ))
\[[`258cfc8`](https://togithub.com/onsi/gomega/commit/258cfc8 )]
- Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1
([#​609](https://togithub.com/onsi/gomega/issues/609 ))
\[[`e6c3eb9`](https://togithub.com/onsi/gomega/commit/e6c3eb9 )]
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kairos-io/provider-kairos ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNTQuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-16 15:32:57 +01:00
ci-robbot [bot]
d8d12cc78e
Repositories bump ( #132 )
...
Bump of luet repositories
Signed-off-by: GitHub <noreply@github.com >
Co-authored-by: mudler <mudler@users.noreply.github.com >
2022-12-16 15:32:04 +01:00
Ettore Di Giacinto
737fadedd7
Merge pull request #120 from kairos-io/renovate/github.com-onsi-ginkgo-v2-2.x
...
Update module github.com/onsi/ginkgo/v2 to v2.6.1
2022-12-15 10:57:33 +01:00
renovate[bot]
e2bf99c5b9
Update module github.com/onsi/ginkgo/v2 to v2.6.1
2022-12-14 21:02:51 +00:00
Ettore Di Giacinto
97d1f86371
Merge pull request #129 from ci-forks/create-pull-request/patch
...
K3s versions bump
2022-12-14 19:32:03 +01:00
mudler
38e5007515
⬆️ Update k3s
...
Signed-off-by: GitHub <noreply@github.com >
2022-12-14 18:30:56 +00:00
mudler
9934625309
🤖 return array
...
Signed-off-by: mudler <mudler@c3os.io >
2022-12-14 19:29:51 +01:00
Ettore Di Giacinto
fadcb58b98
Merge pull request #127 from kairos-io/fixup/fedora_build
...
🐛 Skip SELINUX warnings in fedora builds
2022-12-14 19:28:06 +01:00
Ettore Di Giacinto
076676ef79
Merge pull request #128 from kairos-io/fix/ci
...
🤖 Fix versions bump to be uniques
2022-12-14 19:27:22 +01:00
mudler
ac1c662877
🤖 Fix versions bump to be uniques
...
Use signoff
Signed-off-by: mudler <mudler@c3os.io >
2022-12-14 17:04:32 +01:00
mudler
6d765d887c
🐛 Skip SELINUX warnings in fedora builds
...
SELinux has its own story: https://github.com/kairos-io/kairos/issues/114 . We temporary disable it here, as there is no support at OS level currently.
Signed-off-by: mudler <mudler@c3os.io >
2022-12-14 11:44:00 +01:00
Ettore Di Giacinto
0147d3a6a3
Merge pull request #124 from kairos-io/renovate/goreleaser-goreleaser-action-4.x
...
Update goreleaser/goreleaser-action action to v4
2022-12-13 19:05:48 +01:00
Ettore Di Giacinto
99b3088bf0
Merge pull request #116 from kairos-io/ha
...
⚠️ ✨ p2p HA
2022-12-13 18:04:37 +01:00
Ettore Di Giacinto
415820e66e
Update internal/provider/config/config.go
...
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me >
2022-12-13 17:58:49 +01:00
Ettore Di Giacinto
a8aa5c0f93
🤖 Extend HA test suite
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-13 16:08:40 +01:00
renovate[bot]
211b1a2ed4
Update goreleaser/goreleaser-action action to v4
2022-12-13 13:50:22 +00:00
Ettore Di Giacinto
6fe01c8046
🤖 Extend test suite
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-12 18:05:55 +01:00
Ettore Di Giacinto
4857ff8879
🌱 Change config to be more user friendly
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-12 15:38:21 +01:00
Ettore Di Giacinto
e193a3f3b2
🌱 Be consistent, there is no kairos block anymore
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-12 13:44:49 +01:00
Ettore Di Giacinto
23abe1c0e2
🌱 Please linting
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-12 12:31:03 +01:00
Ettore Di Giacinto
9943c4c7a6
🤖 Add proxmox HA test suite
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-12 12:25:19 +01:00
Ettore Di Giacinto
19d541774b
🌱 Leader now prunes inactive members
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-12 11:49:38 +01:00
Ettore Di Giacinto
b2945fa42c
Merge branch 'main' into ha
2022-12-11 20:24:18 +01:00
Ettore Di Giacinto
87d7fc2131
🌱 Run hook during bootstrap
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-11 18:12:51 +01:00
mudler
6edee4ea81
⬆️ Bump core version
2022-12-10 22:00:55 +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
15a9d15a0c
🌱 HA block belongs to Kairos, not k3s
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-09 09:59:22 +01:00
Ettore Di Giacinto
8df00fcffe
🌱 Allow to disable DHT
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-08 14:51:31 +01:00
Ettore Di Giacinto
6b13d26a33
🌱 Fix linting
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-08 10:54:47 +01:00
Ettore Di Giacinto
1e56ddef74
🌱 Handle setup VPN manually if required
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-07 19:47:00 +01:00
Ettore Di Giacinto
5c5c432594
🌱 Do setup API only if a kairos block is defined
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-07 16:41:24 +01:00
Ettore Di Giacinto
301b69cfa5
🌱 Refactor
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-07 14:49:07 +01:00
Ettore Di Giacinto
b03741c4c5
🌱 Fix linting
...
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org >
2022-12-07 14:37:38 +01:00