Skip to content

Commit

Permalink
add int coassion to port again
Browse files Browse the repository at this point in the history
  • Loading branch information
Mubangizi committed Mar 4, 2024
1 parent bc055db commit ffe2968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/kube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)

Expand Down

0 comments on commit ffe2968

Please sign in to comment.