diff --git a/src/kubecontrol/PodController.cpp b/src/kubecontrol/PodController.cpp index ec12010..044dbee 100644 --- a/src/kubecontrol/PodController.cpp +++ b/src/kubecontrol/PodController.cpp @@ -18,7 +18,7 @@ namespace kubecontrol 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 { LOG_S(INFO)<<"Taking Serveraddress out of the provided YAML file";