You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
flags.StringVar(®ion, "region", getEnv("REGION", ""), "Region of the cluster")
90
90
flags.StringVar(&availabilityZone, "az", getEnv("AZ", ""), "Availability zone of the cluster")
91
91
flags.StringVar(&cloudProvider, "cloud-provider", getEnv("CLOUD_PROVIDER", ""), "Cloud provider of the cluster")
92
-
flags.StringVar(&baseUrl, "base-url", getEnv("BASE_URL", ""), "Base URL for cloud-init-server including protocol and port (e.g. http://localhost:27777)")
92
+
flags.StringVar(&baseUrl, "base-url", getEnv("BASE_URL", "http://cloud-init:27777"), "Base URL for cloud-init-server including protocol and port (e.g. http://localhost:27777)")
93
93
flags.StringVar(&certPath, "cacert", getEnv("CACERT", ""), "Path to CA cert (defaults to system CAs)")
94
94
flags.BoolVar(&insecure, "insecure", parseBool(getEnv("INSECURE", "false")), "Set to bypass TLS verification for requests")
flags.StringVar(&wireguardServer, "wireguard-server", getEnv("WIREGUARD_SERVER", ""), "WireGuard server IP address and network (e.g. 100.97.0.1/16)")
97
98
flags.BoolVar(&wireguardOnly, "wireguard-only", parseBool(getEnv("WIREGUARD_ONLY", "false")), "Only allow access to the cloud-init functions from the WireGuard subnet")
0 commit comments