Skip to content

Commit

Permalink
fixes #355
Browse files Browse the repository at this point in the history
  • Loading branch information
o-smirnov committed Mar 2, 2025
1 parent 8901256 commit 998277b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stimela/backends/kube/run_kube.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def run(cab: Cab, params: Dict[str, Any], fqname: str,
tmp_name = session_user + "--" + fqname.replace(".", "--").replace("_", "--")
token_hex = secrets.token_hex(4)
podname = tmp_name[0:50] + "--" + token_hex
# K8s don't like uppercase
podname = podname.lower()

namespace, kube_api, custom_obj_api = get_kube_api()

Expand Down

0 comments on commit 998277b

Please sign in to comment.