We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d77aa5 commit a0b1202Copy full SHA for a0b1202
upup/pkg/fi/cloudup/template_functions.go
@@ -905,6 +905,11 @@ func (tf *TemplateFunctions) KopsControllerEnv() []corev1.EnvVar {
905
envMap["KOPS_RUN_TOO_NEW_VERSION"] = v
906
}
907
908
+ // If our assets are served from a custom base URL, we need to pass that to kops-controller for cluster-api etc.
909
+ if v := os.Getenv("KOPS_BASE_URL"); v != "" {
910
+ envMap["KOPS_BASE_URL"] = v
911
+ }
912
+
913
return envMap.ToEnvVars()
914
915
0 commit comments