FIX: fixed issue that only one env var can added to the yaml file

This commit is contained in:
Henry Winkel
2023-08-10 17:16:41 +02:00
parent 681338d945
commit 1fc5db5223

View File

@@ -95,6 +95,7 @@ namespace kubecontrol
for (auto item :EnvirmonentVars_) {
node["spec"]["containers"][0]["env"][i]["name"] = item.first;
node["spec"]["containers"][0]["env"][i]["value"] = item.second;
i++;
}