Skip to content

Conversation

@rainest
Copy link
Contributor

@rainest rainest commented Oct 4, 2025

These were previously options that were sorta halfway set up as CLI args, and are now fully set up as CLI args.

Add a --smd-simulator flag for the CLOUD_INIT_SMD_SIMULATOR and set the fakeSMDEnabled variable to it. Previously the envvar was used in some cases, and the variable in others, and nothing actually set the variable.

Previously the envvar enabled the fake SMD client, but did not expose the admin endpoints to manipulate the fake SMD, which relied on the unset fakeSMD var.

Pass baseUrl to the VendorDataHandler initializer and use it if none is set in the store. Previously this was only used for logging, and was effectively inaccurate as such.

Previously setting BASE_URL had no effect on VendorDataHandler (the only thing that uses it AFAIK); you hadd to use the cluster-defaults API endpoint to get anything other than the http://cloud-init:27777 magic string baked into VendorDataHandler.

Add a --smd-simulator flag for the CLOUD_INIT_SMD_SIMULATOR and set the
fakeSMDEnabled variable to it. Previously the envvar was used in some
cases, and the variable in others, and nothing actually set the
variable.

Pass baseUrl to the VendorDataHandler initializer and use it if none is
set in the store. Previously this was only used for logging, and was
effectively inaccurate as such.

Signed-off-by: Travis Raines <571832+rainest@users.noreply.github.com>
@rainest rainest merged commit 2bd7608 into main Oct 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants