------------------------------------------------------------------- Tue Dec 13 13:06:02 UTC 2022 - dcassany@suse.com - Update to version 1.0.2: * Add helm labels and annotations to all crds (#281) * Set helm labels on CRDs (#277) ------------------------------------------------------------------- Wed Nov 30 09:22:35 UTC 2022 - dcassany@suse.com - Update to version 1.0.0: * Change the helm chart oci reference to be aligned with other elemental images (#268) * Add version commands/flags for all binaries (#262) * Use custom names in upgrade objects (#254) * Several improvements to the support command (#258) ------------------------------------------------------------------- Mon Nov 28 09:29:17 UTC 2022 - dcassany@suse.com - Update to version 1.0.0-rc1: * Also trigger Dev rebuild on tag push (#249) * Propagate inventory labels to node on bootstrap plan (#243) * Add codeql + escape user input before processing (#237) * Create dependency-review.yml (#236) * Bump golangci action (#234) * Stop elemental-system-agent when the node is ready (#231) * Fix docker and gorelease jobs (#230) ------------------------------------------------------------------- Mon Oct 24 05:31:40 UTC 2022 - dcassany@suse.com - Update to version 0.6.3: * operator: improve logging of the MachineRegistration controller * operator: move ServiceAccount creation to a separate func * operator: drop duplicated import * operator: enforce ServiceAccount's Secret link * operator: create ServiceAccounts before their Secrets * operator: unit-tests: add coverage for unauthenticatedResponse() (#217) * coverity: make patch status informational (#219) * tests: Add k8s 1.24 and default to rancher 2.6.9 (#220) * tests: use latest url for rancher charts (#218) * Elemental Operator: manage empty config in MachineRegistrations (#213) * Label other objects created by elemental-operator (#216) * Only read yaml files included in the given directories (#215) * Label secrets managed by elemental-operator (#212) * Allow custom config files for elemental-cli (#210) * Collect operator logs after running tests (#204) * Audit and update elemental-operator RBAC ClusterRole (#196) * Add config for e2e tests (#201) * Add OBS workflow to update elemental-operator package (#200) * Add vendor for obs integration (#198) * release: enhance release pipeline (#195) * operator: drop duplicated import of elemental APIs (#199) * Disable CGO under arm for register binaries + restore SBOM (#193) * Revert "Add sbom to releases and attach to containers" (#191) * Add elemental GlobalRole for Rancher UI (#187) * Add reasons for conditions (#185) * lint: dont overshadow var (#172) ------------------------------------------------------------------- Fri Sep 23 14:54:14 UTC 2022 - kkaempf@suse.com - Update to version 0.6.0+git20220923.ffdff84: * Add v0.6.0 changelog (#182) ------------------------------------------------------------------- Fri Sep 23 13:54:32 UTC 2022 - kkaempf@suse.com - Update to version 0.6.0+git20220923.f022acb: * unit-tests: add support to Secrets in registraion's OnChange() * operator: log the creation of a new registration token * operator: explicitly add Secrets to registration ServiceAccounts * operator: return error when the ServiceAccount has no secrets ------------------------------------------------------------------- Thu Sep 22 14:08:16 UTC 2022 - kkaempf@suse.com - Update to version 0.5.0+git20220922.17d9d21: * support command improvements (#173) ------------------------------------------------------------------- Mon Sep 12 16:59:41 UTC 2022 - Klaus Kämpf - make elemental-support a sub-package - disable chart building, was not packaged ------------------------------------------------------------------- Mon Sep 12 13:23:42 UTC 2022 - kkaempf@suse.com - Update to version 0.5.0+git20220912.846c610: * Add sbom to releases and attach to containers (#160) * Use BCI Golang image to build image * register: fix CGO build in Dockerfile * register: build it with CGO (#169) * tests(registration): More unit tests (#167) * Rework client to accept a ClientInterface (#166) * tests(inventory): Add unit tests for inventory methods (#164) * register/operator: drop MachineInventory labels passed from the client * unit-tests: check default machine name * go mod tidy * operator: change default MachineInventory name * Add simple changelog (#158) ------------------------------------------------------------------- Fri Sep 02 12:17:28 UTC 2022 - kkaempf@suse.com - Update to version 0.5.0+git20220902.3d28c5d: * Configure custom smbios data (#157) ------------------------------------------------------------------- Fri Sep 02 08:08:05 UTC 2022 - kkaempf@suse.com - Update to version 0.4.4+git20220902.64f4703: * operator: ensure inventory.Labels is not nil before adding labels ------------------------------------------------------------------- Fri Sep 02 06:07:40 UTC 2022 - kkaempf@suse.com - Update to version 0.4.4+git20220901.75792d6: * Add extra labels with smbios data (#155) * Fix secretname for the apiService (#153) * unit-tests: add websocket coverage * operator: add unit-test for mergeInventoryLabels() * operator/register: drop unused code * operator/register: rework the registration protocol * websocket: add helper functions * register: set a timeout for retrieving the installation config * drop unused labels on bootstrap (#154) * Fix missing cosign and run command (#151) * Enable deploying operator replicas (#150) * register: take control of the registration process * bump github.com/rancher-sandbox/go-tpm * fix linter: cyclomatic complexity of ServeHTTP is 16 * operator: move websocket management logic out of the tpm package * minor: drop duplicated logging * operator/http: check websocket upgrade header in HTTP connections ------------------------------------------------------------------- Wed Aug 31 12:34:34 UTC 2022 - kkaempf@suse.com - Update to version 0.4.3+git20220831.7e58679: * Add image signing to push jobs (#148) * Add local plan to rancher-system-agent to stop elemental-system-agent (#146) ------------------------------------------------------------------- Mon Aug 29 13:28:46 UTC 2022 - kkaempf@suse.com - Update to version 0.4.3+git20220822.f0bd8f4: * log: report elemental installation completion * Fix e2e discovery tests (#138) ------------------------------------------------------------------- Fri Aug 12 09:24:33 UTC 2022 - kkaempf@suse.com - Update to version 0.4.3+git20220812.72971ff: * Backwards compatibility for smbios headers (#137) * Only decode some smbios data (#134) * Drop uneeded files and add extra label (#135) * Split header into 7Kb of data (#133) * Add auto labeler (#125) * Remove default value for flag and expand description (#126) * [chart] only add default-registry if specified (#128) * Store binary artifacts on PR/master (#127) * [tests] fix nginx deploy url (#129) * Bundle support bin with register (#124) ------------------------------------------------------------------- Mon Aug 8 14:04:44 UTC 2022 - Klaus Kämpf - build elemental-operator without CGO_ENABLED (doesn't need tpm) ------------------------------------------------------------------- Mon Aug 08 06:50:12 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220805.5b64a77: * Set the proper namespace (#117) ------------------------------------------------------------------- Fri Aug 05 14:32:22 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220805.485ff21: * Add CAs to docker artifact (#120) ------------------------------------------------------------------- Thu Aug 04 14:40:47 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220804.76f61f5: * Store all registration data on installation (#116) ------------------------------------------------------------------- Thu Aug 04 09:48:27 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220803.6d730d3: * Set fixed hostname and make it persistent (#106) ------------------------------------------------------------------- Wed Aug 03 11:15:05 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220803.f4ba471: * Add 'support' to 'make build' (#111) ------------------------------------------------------------------- Wed Aug 03 10:19:55 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220803.10d3621: * Add a elemental-support binary (#109) ------------------------------------------------------------------- Tue Aug 02 09:55:13 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220802.f243498: * Add missing register command to bootstrap (#104) * Couple of tests for config mapstructure (#102) ------------------------------------------------------------------- Mon Aug 01 15:08:33 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220801.ea7884e: * Produce 2 binaries instead of one (#99) * Push master merges to elemental-operator-ci (#100) * operator: pass all the registration fields on unauthenticated query ------------------------------------------------------------------- Mon Aug 01 11:46:46 UTC 2022 - kkaempf@suse.com - Update to version 0.4.2+git20220801.846d313: * Add missing mapstructure annotations to config (#101) * operator: drop duplicated MachineInventory init code ------------------------------------------------------------------- Mon Aug 1 08:20:55 UTC 2022 - Michal Jura - Update to version 0.4.2+git20220729.6b52b44 ------------------------------------------------------------------- Mon Aug 1 08:17:34 UTC 2022 - Michal Jura - Bump to v0.4.2 ------------------------------------------------------------------- Fri Jul 29 06:38:05 UTC 2022 - kkaempf@suse.com - Update to version 0.4.1+git20220729.6b52b44: * Set a fixed name config for rke/k3s deployments (#97) ------------------------------------------------------------------- Thu Jul 28 16:31:40 UTC 2022 - kkaempf@suse.com - Update to version 0.4.1+git20220728.896efee: * mend * Drop unneeded code ------------------------------------------------------------------- Thu Jul 28 14:09:25 UTC 2022 - kkaempf@suse.com - Update to version 0.4.1+git20220728.38929d2: * Update elemental api resources for upgrades (#95) ------------------------------------------------------------------- Thu Jul 28 08:35:09 UTC 2022 - kkaempf@suse.com - Update to version 0.4.1+git20220728.b5c35b9: * operator: fix adding machineInventoryLabels after initial registration ------------------------------------------------------------------- Wed Jul 27 13:34:18 UTC 2022 - kkaempf@suse.com - Update to version 0.4.1+git20220727.68b87dd: * Drop setting a custom providerID (#91) ------------------------------------------------------------------- Wed Jul 27 08:33:18 UTC 2022 - kkaempf@suse.com - Update to version 0.4.0+git20220727.3241cfd: * Bump rancher version (#89) ------------------------------------------------------------------- Fri Jul 22 17:47:37 UTC 2022 - kkaempf@suse.com - Update to version 0.4.0+git20220722.ea618ea: * elemental-operator register: keep system CAs when passing a custom CA * elemental-operator register: add some more logging * add github.com/sanity-io/litter module * ensure all the structs include proper yaml labels * Add a target to setup a clean cluster (#79) * [register] Check for path error before doing anything (#80) * Make /oem/registration the default configuration dir (#81) * Add README to elemetal-operator helm chart (#56) * Store registration yaml in installed system (#71) * Fix "make unit-tests" ------------------------------------------------------------------- Fri Jul 22 14:17:16 UTC 2022 - kkaempf@suse.com - Update to version 0.3.0+git20220722.f2ab68c: * [register] Check for path error before doing anything (#80) ------------------------------------------------------------------- Fri Jul 22 13:15:19 UTC 2022 - kkaempf@suse.com - Update to version 0.3.0+git20220722.cf20bc6: * Make /oem/registration the default configuration dir (#81) ------------------------------------------------------------------- Fri Jul 22 10:31:12 UTC 2022 - kkaempf@suse.com - Update to version 0.3.0+git20220722.9b9844b: * Add README to elemetal-operator helm chart (#56) ------------------------------------------------------------------- Thu Jul 21 10:23:28 UTC 2022 - kkaempf@suse.com - Update to version 0.3.0+git20220721.52c3cbb: * Store registration yaml in installed system (#71) ------------------------------------------------------------------- Thu Jul 21 09:56:23 UTC 2022 - David Cassany - Remove elemental-operator.service, as this is now executed as part of the cloud-config shipped with elemental. See https://github.com/rancher/elemental/pull/178 ------------------------------------------------------------------- Thu Jul 21 08:48:51 UTC 2022 - kkaempf@suse.com - Update to version 0.3.0+git20220721.e15e76e: * Fix "make unit-tests" * Do note fetch cloud-config on unauthenticated registartion calls (#67) * Change the default machine name to include the UUID ------------------------------------------------------------------- Wed Jul 20 16:39:34 UTC 2022 - Klaus Kämpf - read config from /run/initramfs/live ------------------------------------------------------------------- Wed Jul 20 13:34:35 UTC 2022 - kkaempf@suse.com - Update to version 0.3.0+git20220720.90791e4: * Update MachineRegistration example ------------------------------------------------------------------- Wed Jul 20 09:06:05 UTC 2022 - kkaempf@suse.com - Update to version 0.3.0+git20220720.79d957e: * Adds support for cloud-config data in machine registration (#61) ------------------------------------------------------------------- Tue Jul 19 18:41:07 UTC 2022 - kkaempf@suse.com - Update to version 0.2.1+git20220719.489d40f: * review elemental installer env vars (#59) ------------------------------------------------------------------- Tue Jul 19 15:06:31 UTC 2022 - David Cassany - Run elemental-operator.service after cos-setup-network.service is completely done. Add back a dependency with multi-user.target to ensure it is pulled by some target at boot. ------------------------------------------------------------------- Tue Jul 19 09:32:56 UTC 2022 - David Cassany - Run elemental-operator.service after mutli-user.target to ensure it is executed after all boot services are ready ------------------------------------------------------------------- Tue Jul 19 06:29:56 UTC 2022 - Klaus Kämpf - only run in live mode ------------------------------------------------------------------- Mon Jul 18 15:34:48 UTC 2022 - kkaempf@suse.com - Update to version 0.2.1+git20220718.3530dc5: * ensure install struct includes proper yaml labels (#57) ------------------------------------------------------------------- Mon Jul 18 15:32:57 UTC 2022 - kkaempf@suse.com - Update to version 0.2.1+git20220718.6e2f20f: * Pass debug flag to elemental client if requested (#58) ------------------------------------------------------------------- Fri Jul 15 15:17:36 UTC 2022 - kkaempf@suse.com - Update to version 0.2.1+git20220715.2381ebc: * Do not attempt to install in already installed systems (#55) * Some fixes for the release pipelines (#53) ------------------------------------------------------------------- Fri Jul 15 12:03:47 UTC 2022 - Klaus Kämpf - Update to 0.2.0 ------------------------------------------------------------------- Fri Jul 15 11:51:57 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220715.618d3c4: * Log the version, commit and commit date on start (#43) ------------------------------------------------------------------- Fri Jul 15 09:25:07 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220715.bd811be: * Remove obsolete logic from former ros-installer (#45) ------------------------------------------------------------------- Fri Jul 15 08:40:51 UTC 2022 - Klaus Kämpf - pass COMMITDATE to build ------------------------------------------------------------------- Thu Jul 14 15:57:31 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220714.a05a2db: * elemental-operator register: enable local plans ------------------------------------------------------------------- Thu Jul 14 12:32:27 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220714.602178c: * elemental-operator register: allow cacert passed as file or data (#44) * Makefile: fix make build-docker (#41) ------------------------------------------------------------------- Thu Jul 14 12:20:08 UTC 2022 - David Cassany - On behalf of commit 62bac1d (#38) `elemental install` is called within the `elemental-operator register` command, so the unit file only needs to call `elemental-operator register` ------------------------------------------------------------------- Thu Jul 14 09:51:05 UTC 2022 - Klaus Kämpf - drop elemental-installer and -chart subpackages - add elemental-operator.service file ------------------------------------------------------------------- Thu Jul 14 07:18:46 UTC 2022 - Klaus Kämpf - build with TPM emulation ------------------------------------------------------------------- Wed Jul 13 18:50:45 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220713.adfff7c: * Some register fixes (#40) * elemental-operator register: add elemental cli call (#38) * Fix building the operator/installer with emulatedTPM (#39) * Return a Config.Config in MachineInventory (#35) * Use cacert from rancher and use serverl-url from rancher (#36) ------------------------------------------------------------------- Wed Jul 13 11:40:56 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220713.bcfe4d0: * Add test for chart values (#31) ------------------------------------------------------------------- Tue Jul 12 15:16:10 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220712.14d4d95: * Share installation configuration structures (#24) * bump github.com/docker/distribution to 2.8.1 (#29) * Bump image-spec to 1.0.2 (#28) * Bump system-agent to 0.2.8 (#17) * update testhelpers * Update go.sum * [ci] Up the go version and restore the proper cache * Fix go.sum * [test] Remove focus * [lint] ignore generated files ------------------------------------------------------------------- Fri Jul 08 12:11:24 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220707.39177e8: * Rename RancherOS to Elemental in installer logic * Merge elemental installer (#20) * renamed to elemental-operator and switched to system agent * Fix wrong key in example full reference * Rename rancheros->elemental in README * tests: Use helpers from testlib * tests: Add upgrades e2e test * ci: detect when deployments are already there * Update missing policy rule * Sort env to avoid updating same bundle ------------------------------------------------------------------- Thu Jul 07 13:04:38 UTC 2022 - kkaempf@suse.com - Update to version 0.1.1+git20220707.1d97f14: * Merge elemental installer (#20) * renamed to elemental-operator and switched to system agent * Fix wrong key in example full reference * Rename rancheros->elemental in README * tests: Use helpers from testlib * tests: Add upgrades e2e test * ci: detect when deployments are already there * Update missing policy rule * Sort env to avoid updating same bundle * Be sure to not push same env multiple times ------------------------------------------------------------------- Thu Jul 07 11:51:22 UTC 2022 - kkaempf@suse.com - Update to version 0.0.0+git20220707.0c6dcff: * Adapat Dockerfile and golreleaser to keep releasing and building elemental-operator as they used to * Update .github/workflows/unit-tests.yaml * Update Makefile ------------------------------------------------------------------- Thu Jul 07 09:43:44 UTC 2022 - kkaempf@suse.com - Update to version 0.0.0+git20220707.4b69306: * Adding installer unit tests * Add elemental-installer * Move main into a cmd/operator package ------------------------------------------------------------------- Mon Jul 04 17:17:02 UTC 2022 - kkaempf@suse.com - Update to version 0.0.0+git20220704.211ad46: * renamed to elemental-operator and switched to system agent * Fix wrong key in example full reference * Rename elemental->elemental in README * tests: Use helpers from testlib * tests: Add upgrades e2e test * ci: detect when deployments are already there * Update missing policy rule * Sort env to avoid updating same bundle * Be sure to not push same env multiple times * Update pkg/controllers/inventory/inventory.go ------------------------------------------------------------------- Fri Jun 24 09:53:36 UTC 2022 - Klaus Kämpf - adapt machine-registration.yaml and create-cluster.yaml to system-agent ------------------------------------------------------------------- Fri Jun 24 09:43:40 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220622.84e703a: * added registration command and support for using elemental as a cluster api infrastructure provider * wip * renamed to elemental-operator and switched to system agent ------------------------------------------------------------------- Fri Jun 24 08:53:32 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220603.19a5e9e: * Fix wrong key in example full reference * Rename elemental->elemental in README ------------------------------------------------------------------- Mon Jun 13 10:56:33 UTC 2022 - Klaus Kämpf - rename binary to elemental-operator ------------------------------------------------------------------- Fri Jun 03 09:09:00 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220420.6e6aa51: ------------------------------------------------------------------- Wed Jun 01 08:52:11 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220525.9e1d451: * rename pathes to 'elemental' * rename files to 'elemental' * rename directories to 'elemental' * tests: Use helpers from testlib * tests: Add upgrades e2e test * ci: detect when deployments are already there * Update missing policy rule * Sort env to avoid updating same bundle * Be sure to not push same env multiple times * Update pkg/controllers/inventory/inventory.go ------------------------------------------------------------------- Wed May 25 14:53:19 UTC 2022 - Klaus Kämpf - renamed the api spec in the sample .yaml files ------------------------------------------------------------------- Wed May 25 12:18:48 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220525.9e1d451: * rename pathes to 'elemental' * rename files to 'elemental' * rename directories to 'elemental' * tests: Use helpers from testlib * tests: Add upgrades e2e test * ci: detect when deployments are already there * Update missing policy rule * Sort env to avoid updating same bundle * Be sure to not push same env multiple times * Update pkg/controllers/inventory/inventory.go ------------------------------------------------------------------- Wed May 25 10:33:27 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220420.6e6aa51: * tests: Use helpers from testlib * tests: Add upgrades e2e test * ci: detect when deployments are already there * Update missing policy rule * Sort env to avoid updating same bundle * Be sure to not push same env multiple times * Update pkg/controllers/inventory/inventory.go * Rework * Add events on errors * e2e-ci: add some missing check on errors ------------------------------------------------------------------- Tue May 24 11:58:56 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220518.f916493: * rename to elemental-operator ------------------------------------------------------------------- Wed May 11 10:33:52 UTC 2022 - Klaus Kämpf - update default kubernetesVersion to 1.22.7 ------------------------------------------------------------------- Tue May 10 13:57:42 UTC 2022 - Klaus Kämpf - Update machine-registration.yaml * add hostname * put 'install' section below 'elemental' ------------------------------------------------------------------- Mon Apr 25 11:49:27 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0+git20220420.6e6aa51: * tests: Use helpers from testlib * tests: Add upgrades e2e test * ci: detect when deployments are already there * Update missing policy rule * Sort env to avoid updating same bundle * Be sure to not push same env multiple times * Update pkg/controllers/inventory/inventory.go * Rework * Add events on errors ------------------------------------------------------------------- Tue Apr 12 10:41:49 UTC 2022 - kkaempf@suse.com - Update to version 0.1.0-alpha23+git20220408.cd4553f: * e2e-ci: add some missing check on errors * Bump ele-testhelpers version * e2e-ci: move some functions to ele-testhelpers * Update README * Do not make kube calls blocking * Test env metadata injection * Correctly annotate env vars from metadata * Adapt tests, add test cases * Respect upgradeContainerSpec from ManagedOSVersion * Do allocate the event recorder once in the syncer * Refactor out recorder boilerplate * Collect errors when syncing * Refactor out requeuer to not be blocking * Add test for event broadcasting * Set appropriate rules for broadcasting events * go gen * Record invalid specs back to the VersionChannel * Build general event interface from raw k8s into client * Add reconciler * Wrong obs workflow name :facepalm: * Add OBS workflow to trigger rpm build * Use operator image for wait and display hook * CLI fixups * Allow to specify a mountpath * Add requeue mechanism * Disable mounting SA token by default on sync pod * Implement Custom syncer * Lower the ticker for testing * Set the default update to 60m * Add sync-interval flag * Add owner reference on ManagedOSVersion * Bump rancher version used in tests * Don't watch over specific namespaces * Add make target to test local changes in kind * Enhance tests * Allow to set a bridge ip * Allow to selectively sync user-defined namespaces * Add MachineOSVersionChannel JSON tests * Implement JSON syncer logic * Very basic sync service logic * ManagedOSVersionChannel sync service * Add ManagedOSVersionChannel and skeleton for sync service ------------------------------------------------------------------- Mon Apr 4 15:20:56 UTC 2022 - Klaus Kämpf - Initial version 0.1.0~alpha23