Commit Graph

215 Commits

Author SHA1 Message Date
renovate[bot]
4561169d61
fix(deps): update module gopkg.in/yaml.v1 to v3 (#14)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 11:21:07 +00:00
renovate[bot]
84b81c2c9e
fix(deps): update module gopkg.in/yaml.v2 to v3 (#7)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 11:21:01 +00:00
renovate[bot]
387848b0d4
fix(deps): update module github.com/rs/zerolog to v1.33.0 (#119)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 11:20:52 +00:00
renovate[bot]
f006ddc158 fix(deps): update module github.com/mudler/yip to v1.7.0 2024-06-04 11:20:29 +00:00
renovate[bot]
eaf93cd5f3 fix(deps): update module github.com/containerd/containerd to v1.7.11 [security] 2024-06-04 11:19:57 +00:00
Itxaka
291b1d0a8b
Update go.mod 2024-06-04 13:16:25 +02:00
renovate[bot]
dae0fd024f
fix(deps): update module golang.org/x/mod to v0.17.0 (#91)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 08:10:09 +00:00
Itxaka
59d31f0813
Update renovate.json 2024-06-04 10:01:56 +02:00
Itxaka
a0c7d13520
Port signature utils to sdk from agent (#117)
It was added first to agent as it was needed for upgrade but if we are
gonna reuse this to check for signature validity in random files, we
better have it on sdk so we can use it both on agent and immucore and
works exactly the same

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-06-04 08:31:00 +02:00
Mauro Morales
3edef23845
Revert disable certs list in state (#115)
* Bump go-uefi to include panic fix

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Revert "Disable certs list in state (#113)"

This reverts commit c643cb5e73.

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-23 10:01:56 +02:00
Akvanvig
a5a931958b
adjusted query to check if type is null - added test for the case (#114)
Signed-off-by: Anders Kvanvig <anders.kvanvig@basefarm-orange.com>
Co-authored-by: Anders Kvanvig <anders.kvanvig@basefarm-orange.com>
2024-05-23 09:23:37 +03:00
Itxaka
c643cb5e73
Disable certs list in state (#113) 2024-05-14 10:24:03 +02:00
Mauro Morales
d16d672cf0
Fixes go.sum issues with agent (#112)
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-08 16:44:00 +02:00
Itxaka
c0f37b6388
Avoid adding an extra line to os-release output (#110) 2024-05-07 09:49:19 +02:00
Mauro Morales
7bbd59616a
Add missing Install attributes (#111)
* Add missing Install attributes

* Remove unused

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Add missing structs

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Make Image.Source a string

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Remove firmware and part-table

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

* Remove unused attributes

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-06 16:41:23 +02:00
Itxaka
cd73d32359
Show encrypted parts in state (#108) 2024-05-06 10:03:40 +02:00
Mauro Morales
14f7a86c1c
Add overwrites (#109)
Relates to kairos-io/kairos#2492

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
2024-05-03 18:01:32 +02:00
Akvanvig
5744b1abb2
added check for slice containing items before first item type is checked (#107)
Signed-off-by: Anders Kvanvig <anders.kvanvig@basefarm-orange.com>
Co-authored-by: Anders Kvanvig <anders.kvanvig@basefarm-orange.com>
2024-04-29 10:36:30 +02:00
Itxaka
6364d90a12
Add a method to return full certs (#103)
* Add a method to return full certs

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix lint

Signed-off-by: Itxaka <itxaka@kairos.io>

* Rework the cert extraction

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-04-18 13:11:52 +00:00
Mauro Morales
b7420201f1
Convert env to a map of interfaces (#101)
Signed-off-by: Mauro Morales <contact@mauromorales.com>
2024-04-18 09:06:21 +02:00
renovate[bot]
0c39922927
chore(deps): update github/codeql-action action to v3 (#102)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 22:15:28 +00:00
Mauro Morales
074882b3a0
VPN env vars is an object (#100) 2024-04-17 22:05:04 +02:00
Itxaka
599359ec30
Print the EFI certs in the state command (#98)
* Print the EFI certs in the state command

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix key for yaml/json output

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix go.mod

Signed-off-by: Itxaka <itxaka@kairos.io>

* Move things around

Signed-off-by: Itxaka <itxaka@kairos.io>

* Fix format

Signed-off-by: Itxaka <itxaka@kairos.io>

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-04-17 14:57:57 +00:00
Itxaka
3a78f994f1
Print secureboot state in state (#99) 2024-04-17 16:35:00 +02:00
dependabot[bot]
cadae48cdc
Bump github.com/containerd/containerd from 1.7.7 to 1.7.11 (#78)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
2024-04-17 14:08:32 +02:00
renovate[bot]
c9d6200ce0
chore(deps): update actions/checkout action to v4 (#50)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 12:03:58 +00:00
Itxaka
d729cc787c
Provide a util method to get the certs in the system (#96) 2024-04-17 14:00:34 +02:00
renovate[bot]
350c251c64
chore(deps): update dependabot/fetch-metadata action to v2 (#94)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 00:43:16 +00:00
renovate[bot]
f79cdc7d26
chore(deps): update actions/setup-go action to v5 (#92)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 22:37:26 +00:00
renovate[bot]
832e7cfcf4
fix(deps): update module github.com/urfave/cli/v2 to v2.27.1 (#90)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 03:22:03 +00:00
renovate[bot]
df75cc49c7
chore(deps): update dependabot/fetch-metadata action to v1.7.0 (#89)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 00:13:41 +00:00
renovate[bot]
b0637bfd84
fix(deps): update module github.com/mudler/yip to v1.6.0 (#47)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:47:24 +00:00
renovate[bot]
0347145725
fix(deps): update module github.com/google/go-containerregistry to v0.19.1 (#43)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:46:27 +00:00
renovate[bot]
99dddde820
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.1 (#48)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:43:58 +00:00
dependabot[bot]
5c2e41f419
Bump github.com/docker/docker (#79)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 23.0.5+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v23.0.5...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 10:43:28 +00:00
renovate[bot]
7c50ca995e
fix(deps): update module github.com/jaypipes/ghw to v0.12.0 (#29)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 12:40:26 +02:00
renovate[bot]
e5c1190ede
Update module github.com/onsi/gomega to v1.32.0 (#26)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 12:40:06 +02:00
Ettore Di Giacinto
79ef8786e7
Create renovate_auto.yml 2024-04-15 12:39:46 +02:00
renovate[bot]
7084fd2c28
fix(deps): update module github.com/twpayne/go-vfs/v4 to v4.3.0 (#49)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 12:38:27 +02:00
dependabot[bot]
aa98dd7167
Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 (#80)
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 12:36:02 +02:00
Ettore Di Giacinto
f43417cf78
Create dependabot_auto.yml 2024-04-15 12:35:13 +02:00
dependabot[bot]
878ce52870
Bump github.com/docker/distribution (#77)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 12:31:32 +02:00
Dimitris Karakasilis
66ee3cb60f
Make sure we filter only Images() (#85)
otherwise the methods might fails to parse strange irrelevant tags

Should fix: https://github.com/kairos-io/kairos/issues/2440

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-12 09:37:53 +03:00
Itxaka
ce8a9394a7
Return empty query instead of null (#84) 2024-04-11 12:42:03 +02:00
Itxaka
cbd699b174
fix check for state reset (#83) 2024-04-08 12:50:40 +02:00
renovate[bot]
9125488d8f Update module github.com/containerd/containerd to v1.7.11 [SECURITY] 2024-03-28 08:58:51 +00:00
Itxaka
9be65995ff
Restore the family value in os-release (#75) 2024-03-27 09:58:03 +01:00
Itxaka
9005687239
Detect autoreset in UKI mode (#74) 2024-03-22 13:11:18 +01:00
Itxaka
e50888d054
Fix parsing cmdline when keys have a dash (#73)
* Fix parsing cmdline when keys have a dash

If a key has a dash we need to add quotes to it before parsing it with
gojq, otherwise it will fail AND the full cmdline will not be parsed!

Signed-off-by: Itxaka <itxaka@kairos.io>

* Actualizar bootcmdline_test.go

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-03-18 17:28:31 +01:00
Itxaka
1c55cf24d3
This makes it so it implements other logger interfaces fully (#72) 2024-03-01 11:53:08 +01:00