Skip to content

Releases: OpenCHAMI/cloud-init

v1.0.4

23 Jan 16:03
f8f34b5
Compare
Choose a tag to compare

Changelog

  • f8f34b5 Merge pull request #52 from OpenCHAMI/41-bug-wireguard-endpoints-and-tunnels-are-not-cleaned-up-properly
  • 590d647 feat: integrate WireGuard interface manager into phone home and client handlers
  • 70a81e9 fix: clean up tests
  • 7019900 fixes so the peerName is the right IP when removing the peer

v1.0.3

23 Jan 00:17
4d68fcd
Compare
Choose a tag to compare

Changelog

  • 4d68fcd 49 bug fix secure endpoints (#50)
  • fe7a968 Merge pull request #48 from OpenCHAMI/47-feature-set-default-node-name-format-in-cluster-defaults
  • e0df38f demo setting cloud-init defaults for short-name and nid-length (#51)
  • 41a2987 fix: Update hostname generation to use cluster defaults; add tests for hostname generation

v1.0.2

21 Jan 18:15
9ef4260
Compare
Choose a tag to compare

Changelog

  • 9ef4260 Merge pull request #46 from OpenCHAMI/45-feature-support-complex-datastructures-in-the-meta-data
  • 5e42867 chore(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 (#44)
  • 6a87abf feat: Update group meta-data to support complexity beyond key/value string pairs

v1.0.1

15 Jan 19:05
80a5989
Compare
Choose a tag to compare

Changelog

  • 80a5989 Merge pull request #42 from OpenCHAMI/trcotton/dockerfile-update
  • 21630be adding wireguard packages to Dockerfile

v1.0.0

15 Jan 15:28
eefcc26
Compare
Choose a tag to compare

Changelog

  • e7d9f93 Add --access-token and --cacert flags (#32)
  • aacf917 Add group tag to MemStore (#36)
  • b64a2e1 Merge branch 'main' into 22-groups-metadata
  • cae495e Merge pull request #12 from OpenCHAMI/document-usage
  • e0cecb0 Merge pull request #19 from OpenCHAMI/allend/groups
  • 4a69886 Merge pull request #20 from OpenCHAMI/18-fix-server-error-message
  • 2b7d6c4 Merge pull request #23 from OpenCHAMI/21-restrict-metadata
  • fca4fb5 Merge pull request #24 from OpenCHAMI/22-groups-metadata
  • a98edc8 Merge pull request #27 from OpenCHAMI/alovelltroy/build-improvements
  • 70a27d7 Merge pull request #35 from OpenCHAMI/34-dev-add-standardised-instance-data-to-the-cloud-init-payloads
  • 1fc41ce Merge pull request #38 from OpenCHAMI/alovelltroy/add-wireguard-support
  • eefcc26 Merge pull request #39 from OpenCHAMI/trcotton/go-releaser-fix
  • 2ebfab3 Update to allow jinja templating
  • 9140cb0 bugfix: corrected cacert loading logic for SMD client
  • dd37cb2 bugfix: fixed issue with not querying component correctly
  • 672e9b2 chore: added flag to bypass cert verify
  • 44cb633 chore: minor changes to logging
  • f3683eb chore: rename ochami.yml to Release.yml and update Go setup for improved build environment
  • ba6de7d chore: replace ochami.yml workflow with Release.yml for improved build process and environment variable setup
  • 7409764 chore: update Dockerfile and Go modules for improved dependencies and multi-architecture support
  • 24fb476 chore: updated description of --smd-url flag
  • 30af52f feat: add FakeSMDClient for simulating SMD interactions and update main to use it conditionally based on environment variable
  • 40c8682 feat: add WireGuard support with client management and phone home handler fix: enhance error handling and logging in WireGuard setup and client management feat: enhance WireGuard server initialization and improve metadata field naming conventions feat: implement IP address allocation management with IPAllocator and integrate into InterfaceManager feat: add WireGuard IP management methods to SMDClient and FakeSMDClient feat: enhance WireGuard client addition by integrating SMD client for IP management feat: enhance IPAllocator with network and broadcast address calculations and add unit tests Update IpforPeer to return existing wgip for peer feat: add support for WireGuard setup and implement middleware for access control
  • 3b2ee7a feat: add WriteFiles struct and enhance SMDClient with ComponentInformation method
  • 85b56e3 feat: add base URL configuration for cloud-init server and update metadata handlers fix: update SetClusterDefaults method to use locking and improve cluster defaults handling feat: update cluster defaults demo script to show ssh key and base-url fix: improve error handling in GroupUserDataHandler to return empty cloud-config on missing group data fix: update base URL in demo script and trim trailing slashes in SetClusterDefaults method feat: Allow node update to include own ip/mac fix: update UpdateGroupData method to support creating group data if it doesn't exist
  • f7e6acd feat: add cluster data retrieval and enhance ID mapping functionality
  • 365c3d6 feat: add user data and vendor data handlers, and scripts for group management feat: add unit tests for cloud-init server handlers and implement local inventory structure
  • efd0116 feat: enhance cache refresh mechanism with logging and synchronization improvements
  • 186181b feat: implement cache refresh mechanism in SMDClient
  • ec89ec3 feat: implement fake SMD client handlers for adding and listing nodes, update dependencies, and remove obsolete tests feat: remove obsolete JSON configuration files and update add_node.sh to include group assignment feat: refactor instance data generation and update group metadata handling feat: enhance cloud-init server with group user data handling and improve vendor data response * refactor code to put less in citypes and more in local handlers feat: add scripts for hostname override and cluster defaults, refactor ciStore interface, update group handling, add cluster defaults endpoints and support to override the hostnames as needed feat: add update node functionality to FakeSMDClient and corresponding HTTP handler fix: remove unnecessary unlock call in PopulateNodes method of SMDClient fix: streamline locking mechanism in PopulateNodes method of SMDClient
  • 24d7807 feat: initialize cache population in SMDClient and add debug logging for cache refresh
  • bbee6e5 fix: correct key name from "meta-data" to "metadata" in TestAddGroupData for consistency
  • 6d8cd3a fix: update type assertion in TestMemStore_Get to use correct Group type for group metadata validation
  • 5082e63 fixing '## template:jinja' -> '## template: jinja'
  • 71092b9 groups: added implementation with API endpoints
  • 63a232c groups: extended API with some minor clean up
  • 3017f2f groups: tidied code and added check for requests with no data
  • e4acc82 readme: added information related to groups/metadata changes
  • a4dd2af readme: updated information related to API changes
  • 9a438c4 refactor: add error message which server is closed
  • 00f322c refactor: added type check for write file data
  • 79d49e1 refactor: change meta-data structure to store map instead of list (#33)
  • c19c2b0 refactor: fix issue with adding group data
  • 32764a0 refactor: fix issue with adding groups with /groups
  • 40bb853 refactor: fix issue with getting single group data
  • fa4f313 refactor: improve Get method in MemStore to return variable instead of direct list access for clarity
  • b35b422 refactor: integrate zerolog for enhanced logging and update group data handling in MemStore
  • 918eb99 refactor: more tidying and cleanup
  • 3f51994 refactor: reimplemented Get() and removed unnecessary parts of groups API and code
  • eed8af0 refactor: removed debug print
  • 7413a02 refactor: removed debug print
  • 4cc83ca refactor: removed parts of groups API and minor changes
  • 3ebf79f refactor: removed unnecessary vars and refactor existing ones
  • 73bcde3 refactor: replace log package with zerolog for improved logging and error handling
  • 25a2d72 refactor: streamline Get method in MemStore for improved readability and efficiency
  • f65e92f refactor: update SMDClient to use interface for improved testability and mock support
  • 2579b54 refactor: update group data types in ciStore and citypes for improved clarity and consistency
  • 86d4abb refactor: updated endpoints to include /hms/v2
  • 5de86b2 removed cloud-init-server binary executable
  • f834552 router: removed POST user-data endpoint
  • ffa6df0 router: removed metadata endpoints and added separate user-data endpoints
  • 43c4d93 updated go deps
  • 9c428cb updating goreleaser-action to v6 in workflow

v0.1.1

22 Jul 22:32
51d12f8
Compare
Choose a tag to compare

Changelog

  • 51d12f8 Merge pull request #11 from OpenCHAMI/lritzdorf/autodetect-node
  • 77666ab Update changelog for v0.1.1
  • b67933e handlers: generalize "get data by MAC" functionality
  • 7b37b8f handlers: generalize SMD retrieval into single function
  • 078bf6a handlers: handle MAC-less requests via IP-based lookup
  • 217abab smdclient: fix naming in comments, oops
  • ff87935 smdclient: implement xname lookup from IP address
  • 19d0ce6 smdclient: look up EthernetInterfaces, not ComponentEndpoint
  • 52d80f3 smdclient: properly unmarshal raw JSON array

v0.1.0

17 Jul 17:13
e99542a
Compare
Choose a tag to compare

Changelog

  • 7475dd3 Actions: fix tag format, use stable attestation
  • 40858b4 Add JWKS URL flag to Dockerfile
  • cccd40d Add standard middlewares to the root router
  • 2735311 Dockerfile: provide OPAAL URL argument to executable
  • acfb305 Don't slug-ify node IDs (MAC addresses)
  • 7cb7c62 Fix minor spelling error in logs :)
  • 4a9b067 Generalize OPAAL interface to any OIDC server
  • ecf9812 Handlers: remove dependency on weird module from Gitea
  • e884218 Implement JWT-based authentication for secure route
  • d1779ea Implement second HTTP route, to be protected via JWT
  • 08c1e9f Memstore: fall back to using given name if no SMD results
  • efc4b0d Memstore: use log module instead of fmt for all output
  • e99542a Merge pull request #10 from OpenCHAMI/lritzdorf/rearchitect
  • 2c368cd Merge pull request #8 from OpenCHAMI/alexlovelltroy-patch-3
  • 2c6d29b Pass empty strings to optional flags when no values are set
  • c7c17c9 Properly detect empty CI datastore; clean up formatting
  • 31e9446 Return slug-ified datastore key instead of plain one
  • ef839f9 Routers: define middlewares before routes, as required
  • 0e246cb Switch from the Gin HTTP server to Chi
  • 922a82b Update Dockerfile
  • 22fb651 Update changelog for new release
  • f2edfe2 Update changelog to include OPAAL server support
  • 68075ea main: accept OPAAL URL argument, instead of single token
  • ce70174 oidc: add note about OAuth2 authorization grant support
  • 04a82e9 replacing copypasta with real binary name in build automation
  • 22ee13d smdclient: support fetching new token from OPAAL

v0.1.0-rc2

09 Jul 19:42
22fb651
Compare
Choose a tag to compare

Changelog

  • 7475dd3 Actions: fix tag format, use stable attestation
  • cccd40d Add standard middlewares to the root router
  • acfb305 Don't slug-ify node IDs (MAC addresses)
  • 08c1e9f Memstore: fall back to using given name if no SMD results
  • efc4b0d Memstore: use log module instead of fmt for all output
  • 2c6d29b Pass empty strings to optional flags when no values are set
  • 31e9446 Return slug-ified datastore key instead of plain one
  • ef839f9 Routers: define middlewares before routes, as required
  • 22fb651 Update changelog for new release

v0.1.0-rc1

08 Jul 21:29
40858b4
Compare
Choose a tag to compare

Changelog

  • 40858b4 Add JWKS URL flag to Dockerfile
  • e884218 Implement JWT-based authentication for secure route
  • d1779ea Implement second HTTP route, to be protected via JWT
  • c7c17c9 Properly detect empty CI datastore; clean up formatting
  • 0e246cb Switch from the Gin HTTP server to Chi

v0.0.9

07 May 17:19
v0.0.9
Compare
Choose a tag to compare

Changelog

  • 2c368cd Merge pull request #8 from OpenCHAMI/alexlovelltroy-patch-3
  • 922a82b Update Dockerfile
  • 04a82e9 replacing copypasta with real binary name in build automation