Commit da74f34b authored by Nijsse, Bart's avatar Nijsse, Bart
Browse files

uuid for container name

parent 1ee32167
Pipeline #22688 passed with stage
in 1 minute and 20 seconds
......@@ -330,7 +330,7 @@ public class Kubernetes {
// Set the name
String name = "cwl-" + new File(yamlFile).getParentFile().getName().toLowerCase().replaceAll("[_\\.]", "") + "-" + new File(yamlFile).getName().toLowerCase().replaceAll("[_\\.]", "");
if (name.length() > 62) name = name.substring(0, 62);
containerItem.name(name);
containerItem.name(UUID.randomUUID().toString());
// Setting secrets
containerItem.addEnvItem(setSecret("irodsHost","unlock-secret", "irodsHost"));
......
Markdown is supported
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