Commit Graph

15 Commits

Author SHA1 Message Date
David Cassany Viladomat ff661e086f
Change the helm chart oci reference to be aligned with other elemental images (#268) (#269)
Signed-off-by: David Cassany <dcassany@suse.com>
(cherry picked from commit 242f3cc3ef)
2022-11-30 12:27:09 +01:00
David Cassany Viladomat ed268ce451
New syncer logic (#245)
* Implement syncer logic as part of the ManagedOSVersionChannel controller

  This commit adds the logic to synchronize managedosversionchannels
  within the already existing controller.

* make generate
* make build-manifests
* Update chart
* update e2e tests

Signed-off-by: David Cassany <dcassany@suse.com>
2022-11-16 18:38:23 +01:00
David Cassany Viladomat 1af1d0709e
Add vendor for obs integration (#198)
These changes are required to facilitate OBS code updates and builds by simply triggering OBS services. This allows updating code and rebuild in OBS based on github events such as on tag, on merge, on push...

Signed-off-by: David Cassany <dcassany@suse.com>
2022-10-07 14:23:11 +00:00
Itxaka 41e9c17915
Enable deploying operator replicas (#150)
Enables deploying multiple operators replicas.

Changes tests to account and test this

Chart changes:
 - Make any fixed names default to the release name. As release name has
   to be unique per namespace, this is a good practice instead of
   hardcoding whatever name we want. This shouldnt affect anything as
   the full chart uses that by default now.

Signed-off-by: Itxaka <igarcia@suse.com>

Signed-off-by: Itxaka <igarcia@suse.com>
2022-08-31 16:36:56 +02:00
Itxaka 01fd853832
Remove default value for flag and expand description (#126)
Make sure we have a decent description for the --operator-image flag as
that is used down the line by the syncer to run the display command and
gather the results from the version syncer.

Also remove the default value for the flag. It makes no sense to have a
default value if we mark a flag as required, as that value will always
be overwritten by the flag.

Signed-off-by: Itxaka <igarcia@suse.com>
2022-08-10 14:31:54 +02:00
Michal Jura 9b9844b743
Add README to elemetal-operator helm chart (#56) 2022-07-22 08:48:08 +02:00
Itxaka e87eb80c9c
Use cacert from rancher and use serverl-url from rancher (#36)
* Generate v3.Setting code

Signed-off-by: Itxaka <igarcia@suse.com>

* Use the rancher cacerts for the registration

Also drops the cacert passing via chart, adds proper permissions to the
settings resource, adds the cache index and checks that indeed we are
returning a cacert on the registration url

Signed-off-by: Itxaka <igarcia@suse.com>

* fix lint

Signed-off-by: Itxaka <igarcia@suse.com>

* Drop manual rancherl-url and get the rancher url automatically

Drop any manual setup of rancher-url and use the settings to get the set
rancher-url

Signed-off-by: Itxaka <igarcia@suse.com>

* Small fix for getRancherCACert

Signed-off-by: Itxaka <igarcia@suse.com>

* Fix test setting the wrong url

Signed-off-by: Itxaka <igarcia@suse.com>
2022-07-13 16:11:21 +02:00
Itxaka 7f6baefb2a Restore sync-namespaces
There seems to have some confusion between the namespace of the operator
to run on and the namespaces we want the operator to watch

This restores the sync_namespaces so the operator can watch all
namespaces and sets teh namespace option to be where the operator is
runnig, needed for things like the registration url to be properly
served

Signed-off-by: Itxaka <igarcia@suse.com>
2022-07-11 15:13:22 +02:00
Itxaka caab84f5e2 Allow overriding namespace to watch and debug status for operator
Signed-off-by: Itxaka <igarcia@suse.com>
2022-07-11 15:12:19 +02:00
Jacob Payne c5a5dbd77f renamed to elemental-operator and switched to system agent 2022-06-30 16:01:13 +00:00
Itxaka 7c44515226 Set the default update to 60m
Signed-off-by: Itxaka <igarcia@suse.com>
2022-04-06 09:44:46 +02:00
Itxaka 55d32338be Add sync-interval flag
Signed-off-by: Itxaka <igarcia@suse.com>
2022-04-06 09:44:46 +02:00
Darren Shepherd 3f899e0784 Build custom ipxe and use hostbin for ros-operator 2021-11-08 22:16:28 -07:00
Darren Shepherd 4085b2977b Rename to rancher/os2 2021-10-20 12:19:44 -07:00
Darren Shepherd 5675644d9f Add operator 2021-10-20 10:58:54 -07:00