Commit Graph

13 Commits

Author SHA1 Message Date
Francesco Giudici 97db17d73b
make linter happy - update copyright dates (#899)
Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
2025-01-31 15:33:47 +01:00
Francesco Giudici 5e14e968ee
Label Templates: add IP addresses to the Network variables (#885)
* util: add network util functions

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* Label Templates: add IPAddress to the Network vars

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* util/net: rework to allow mocking system ip address retrieval

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* util/net: return all the available network addresses

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* Label Templates: add IPAddresses.{num} to the Network vars

track all available network addresses

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* make generate-mocks

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* tests: add util/net coverage

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

* error strings should not be capitalized

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>

---------

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
2024-11-26 09:17:00 +01:00
Andrea Mazzotti d857bda0cc
Implement Network Configurators (nmc, nmstate, nmconnections) (#819)
* Implement Network Configurators (nmc, nmstate, nmconnections)

Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2024-08-13 17:35:54 +02:00
Andrea Mazzotti 9c8550fdfb
Allow yip configs (#751)
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
2024-06-17 10:25:17 +02:00
Fredrik Lönnegren da0776b710 Update copyright year (2024)
Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
2024-01-05 13:14:27 +01:00
Andrea Mazzotti ffb9c010c4
Implement remote machines reset (#489) 2023-08-04 09:34:26 +02:00
David Cassany 980ba5c893 Pull iso as a container
Signed-off-by: David Cassany <dcassany@suse.com>
2023-04-21 11:28:02 +02:00
Francesco Giudici e37cd67e57 Utils: generalize IsPodOwned func to IsObecjtOwned() and add tests
Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
2023-04-18 15:31:27 +02:00
Francesco Giudici c66160408e SeedImage: make the linter happy...
...and add a new helper in the util package to verify is a resource is
owned by an object (identified by its UID).

Signed-off-by: Francesco Giudici <francesco.giudici@suse.com>
2023-04-18 15:31:27 +02:00
David Cassany Viladomat f4f34ca948
Use config map in seedimage pod (#423)
* Add client registration config utility
* Use a config-map for the seed-image pod
* Allow ConfigMaps manipulation in SeedImage RBAC
* Drop configmap-uid annotation
* go mod tidy
* Adapt tests
* Add createConfigMapObject tests

Signed-off-by: David Cassany <dcassany@suse.com>
2023-04-14 18:51:21 +02:00
Fredrik Lönnegren 04747a6b6a
Add cloud-config support to seedImage (#399)
* Add cloud-init support to seedImage

This commit adds a field to the SeedImage Spec for a cloud-config that
will be included in the built ISO.

If the cloud-config field is not set an empty file will be added to the
ISOs iso-config dir.

The reconciliation will take place in case the cloud-config is changed
and the base64 encoded value is used in an annotation in order to see if
the value has changed.

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>

* Linting

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>

* Add seedImage unit-tests

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>

---------

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
2023-03-23 09:36:36 +01:00
Fredrik Lönnegren b9d1c82976
Copyright date-range 2022 - 2023 (#327)
Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>

Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
2023-01-13 10:30:48 +01:00
Alexander Demicev ebca28f734
Remove invalid conditions from objects (#284) 2022-12-12 14:14:50 +00:00