From ffe29683179c13c8037a07a4f6207d48d3963acf Mon Sep 17 00:00:00 2001 From: Mubangizi Date: Mon, 4 Mar 2024 18:06:11 +0300 Subject: [PATCH] add int coassion to port again --- app/helpers/kube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/kube.py b/app/helpers/kube.py index 4960a1ae..dc8ada49 100644 --- a/app/helpers/kube.py +++ b/app/helpers/kube.py @@ -244,7 +244,7 @@ def deploy_user_app(kube_client, project: Project, user: User, app: App = None, service_spec = client.V1ServiceSpec( type='ClusterIP', ports=[client.V1ServicePort( - port=current_app.config['KUBE_SERVICE_PORT'], target_port=app_port)], + port=int(current_app.config['KUBE_SERVICE_PORT']), target_port=app_port)], selector={'app': app_alias} )