FIX:fixed missing https

This commit is contained in:
Henry Winkel
2023-08-11 14:00:42 +02:00
parent 1fc5db5223
commit f767307987

View File

@@ -18,7 +18,7 @@ namespace kubecontrol
if (KUBERNETES_SERVICE_HOST != nullptr && KUBERNETES_SERVICE_PORT!= nullptr) if (KUBERNETES_SERVICE_HOST != nullptr && KUBERNETES_SERVICE_PORT!= nullptr)
{ {
ServerAddress_ = std::string(KUBERNETES_SERVICE_HOST)+":"+std::string(KUBERNETES_SERVICE_PORT); ServerAddress_ = "https://" +std::string(KUBERNETES_SERVICE_HOST)+":"+std::string(KUBERNETES_SERVICE_PORT);
} else } else
{ {
LOG_S(INFO)<<"Taking Serveraddress out of the provided YAML file"; LOG_S(INFO)<<"Taking Serveraddress out of the provided YAML file";