Fixed domain naming
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-04-19 16:15:20 +02:00
parent ef4d4cc740
commit cf77ff0f89

View File

@ -43,7 +43,7 @@ class JobView(FlaskView):
@staticmethod
def _controller_to_pod_name(controller: Controller) -> str:
return f"ursim-controller-{controller.id}"
return f"ursim-controller-{controller.id}a" # Needs to be a valid DNS-1123 name
@staticmethod
def _create_k8s_pod_api_object(controller: Controller, controller_desc: dict) -> dict: