Unverified Commit 68eeddbb authored by Vasili Novikov's avatar Vasili Novikov
Browse files

Fix kubectl shorter kubernetes-pod name

parent 987eb8a8
Showing with 3 additions and 4 deletions
+3 -4
......@@ -42,10 +42,9 @@ pub fn run_plugin_container(
let auth = database_key.create_plugin_auth()?;
let auth = serde_json::to_string(&auth)?;
let container_id = format!(
"{}-{}-{}-{}",
pod_owner,
container_image,
item,
"{}-{}-{}",
pod_owner.chars().take(10).collect(),
container_image.chars().take(15).collect(),
new_random_item_id()
);
if cli_options.use_kubernetes {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment