Mauro Morales
20547f93a2
Configure automerge for patch updtes
2023-10-04 17:04:33 +02:00
Itxaka
864ff80b53
Merge pull request #20 from kairos-io/bump_sdk
2023-06-14 16:18:40 +02:00
Itxaka
bdde2df13a
Merge branch 'main' into bump_sdk
2023-06-14 15:23:37 +02:00
Itxaka
166b8802ea
Drop kairos lib and use sdk instead
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-06-14 15:03:31 +02:00
Itxaka
3a0c3f0bae
Merge pull request #2 from kairos-io/renovate/configure
2023-06-14 14:36:52 +02:00
Itxaka
16ec663748
Merge branch 'main' into renovate/configure
2023-06-14 14:36:47 +02:00
Mauro Morales
59ed3da68d
Update issue templates
...
relates to https://github.com/kairos-io/kairos/issues/1483
2023-06-13 12:18:46 +02:00
Itxaka
c08c563658
Merge pull request #19 from kairos-io/debug
2023-05-05 10:18:17 +02:00
Itxaka
47e7f67e04
Fix label
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-05 09:19:46 +02:00
Itxaka
f5dc23f554
Merge pull request #18 from kairos-io/rework_dracut
2023-05-04 14:10:15 +02:00
Itxaka
2889a52eab
Merge branch 'main' into rework_dracut
2023-05-04 12:41:55 +02:00
Itxaka
18eab4843d
Merge pull request #17 from kairos-io/uuid_partition_identify
2023-05-04 12:38:29 +02:00
Itxaka
3e25056dd0
Merge branch 'main' into uuid_partition_identify
2023-05-04 12:07:39 +02:00
Itxaka
36f861fd0c
Use reproducible UUIDs for partition identification
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-04 12:07:21 +02:00
Itxaka
5f52d1f2f9
Store dracut artifacts in its own target
...
So its easier to access them from other places.
Alos stores the dracut.conf file for kcryt under the dracut dir and
renames it to its proper final name
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-05-03 21:52:44 +02:00
Itxaka
7a8210d26c
Merge pull request #16 from kairos-io/more_public_functions
...
🌱 Make some functions public
2023-04-19 17:27:20 +02:00
Itxaka
6d6dfd00a1
🌱 Make some functions public
...
So they can be imported from different places as lib and re-used
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-19 14:44:33 +02:00
renovate[bot]
a312a2ecd8
Add renovate.json
2023-03-30 19:51:44 +00:00
Mauro Morales
92c79f4e75
Merge pull request #15 from kairos-io/bump-go-version-to-1.20.2
...
⬆️ bump go version to 1.20.2
2023-03-30 09:10:18 +02:00
Mauro Morales
a254871c22
Remove something left from the merge conflict
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-30 09:06:11 +02:00
Mauro Morales
7e6a31f38b
Add lint workflow
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 17:05:53 +02:00
Mauro Morales
0f3eee7851
Add golint
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 17:05:51 +02:00
Mauro Morales
15cc284978
Part of previous commit
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 17:00:06 +02:00
Mauro Morales
b7352829ff
Add yamllint
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 17:00:06 +02:00
Mauro Morales
57aef89b02
⬆️ bump go version to 1.20.2
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 16:59:56 +02:00
Dimitris Karakasilis
2dbd13c984
Merge pull request #14 from kairos-io/use-collector-insted-of-config
...
✨ Switch to using new collector pkg
2023-03-29 17:38:49 +03:00
Dimitris Karakasilis
ff42570ec7
Fix go.sum/go.mod with go mod tidy
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-03-29 17:29:41 +03:00
Mauro Morales
36fafa38cf
Add test for header when writing mappings
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 17:27:55 +03:00
Mauro Morales
f977f72e8d
Switch to using new collector pkg
...
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2023-03-29 17:27:55 +03:00
Itxaka
608b465afc
Merge pull request #13 from kairos-io/move_to_immucore
2023-03-15 10:37:10 +01:00
Itxaka
79fbcc2f73
Merge branch 'main' into move_to_immucore
2023-03-09 23:55:05 +01:00
Itxaka
7298e9c0dd
Merge pull request #12 from kairos-io/Itxaka-patch-1
2023-03-09 23:54:36 +01:00
Itxaka
94cfbcfe88
Update dracut/29kcrypt/generator.sh
...
Co-authored-by: Mauro Morales <contact@mauromorales.com>
2023-03-01 16:58:08 +01:00
Itxaka
1296f284cb
Update dracut/29kcrypt/generator.sh
...
Co-authored-by: Mauro Morales <contact@mauromorales.com>
2023-03-01 16:58:01 +01:00
Itxaka
4cff0323af
Depend on immucore-service
...
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-01 12:45:19 +01:00
Itxaka
9c7c27af89
Skip kcrypt on non-immmutable systems
...
Disable the module creating any services if the inmutability layer is not gonna run as it makes no sense to load kcrypt if we are not mounting our stuff.
Fixes https://github.com/kairos-io/kairos/issues/642
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-03-01 12:44:08 +01:00
Dimitris Karakasilis
fa9eb79998
Merge pull request #11 from kairos-io/bump-go-pluggable
...
Bump go-pluggable to show output from kcrypt-challenger when somethin…
2023-02-08 16:28:12 +02:00
Dimitris Karakasilis
11bfa53dc1
Bump go-pluggable to show output from kcrypt-challenger when something fails
...
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-02-08 16:15:05 +02:00
Ettore Di Giacinto
930d7433ae
📖 Create README
2023-02-07 12:32:55 +01:00
Dimitris Karakasilis
845f5984b1
Merge pull request #10 from kairos-io/no_challenger
...
🌱 Remove challenger traces from here
2023-01-19 15:25:40 +02:00
mudler
71506ff020
🌱 Remove challenger traces from here
...
The challenger has no business logic in here, and kcrypt should just
read what it needs. This goes in parallel with https://github.com/kairos-io/kcrypt-challenger/pull/10
Not blocking each other.
Signed-off-by: mudler <mudler@c3os.io>
2023-01-19 12:28:46 +01:00
Dimitris Karakasilis
27183fbce7
Merge pull request #9 from kairos-io/399-kcrypt-configuration
...
Move from partition_info to config package
2023-01-18 14:59:49 +02:00
Dimitris Karakasilis
018322ff00
Move from partition_info to config package
...
Now the kcrypt configuration will be just a block (`kcrypt`) in the regular
kairos configuration files.
We will use the config mechanism of looking up in multiple directories
becase the old code was only looking at `/oem` but at boot time
(initramfs) the configuration was present in `/sysroot/oem`.
The reason it "worked" was that we had a bug and a sealedvolume was
matching our request simply because we sent an empty UUID/Label/Name
and the sealedvolume had and empty UUID (empty matches empty, right?)
With that fixed on the challenger server side, it became obvious that we
never actually read the partition_info file because we were looking for
it at the wrong place.
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2023-01-18 14:55:25 +02:00
Ettore Di Giacinto
361e1ab817
Merge pull request #7 from kairos-io/fix/umount
...
Do not umount oem if we have found it out
2022-11-23 16:25:16 +01:00
Ettore Di Giacinto
4234ae7034
Incorporating feedback review
2022-11-23 15:11:48 +00:00
Ettore Di Giacinto
193a7da9ee
Update main.go
...
Co-authored-by: Dimitris Karakasilis <jimmykarily@gmail.com>
2022-11-23 16:05:44 +01:00
Ettore Di Giacinto
e0316ade0a
Add earthly.sh
2022-11-23 15:16:04 +01:00
Ettore Di Giacinto
1c3a3ac510
Do not fail if we can't find a partition file
2022-11-23 14:09:44 +01:00
Ettore Di Giacinto
641fc6ffa7
Try to run kcrypt directly
2022-11-23 14:01:46 +01:00
Ettore Di Giacinto
214ae51333
Bind it to sysroot
2022-11-23 14:01:46 +01:00