From 7f2ae73cf72c70df2f9d8c31028ca5b4a00e6fb7 Mon Sep 17 00:00:00 2001 From: leland knight Date: Tue, 26 Nov 2024 20:23:26 -0700 Subject: [PATCH] add HTTPCallbackAddress, needed when running within a kubernetes cluster --- multistep/commonsteps/http_config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/multistep/commonsteps/http_config.go b/multistep/commonsteps/http_config.go index c5577f370..13e918cfb 100644 --- a/multistep/commonsteps/http_config.go +++ b/multistep/commonsteps/http_config.go @@ -54,6 +54,9 @@ type HTTPConfig struct { // This is the bind address for the HTTP server. Defaults to 0.0.0.0 so that // it will work with any network interface. HTTPAddress string `mapstructure:"http_bind_address"` + // Use to specify a specific ip/fqdn a vm should use to reach the callback http server upon completion. + // This is required when running via workflows/pipelines which are running within a kubernetes cluster. + HTTPCallbackAddress string `mapstructure:"http_callback_address"` // This is the bind interface for the HTTP server. Defaults to the first // interface with a non-loopback address. Either `http_bind_address` or // `http_interface` can be specified.