Skip to content

Commit

Permalink
Update create_deployment.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Arv1nt3 authored Jan 11, 2024
1 parent 77d9b84 commit 0d8ef40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def create_deployment_yaml(image_name, command, args, env_vars, port, path, init
"containers": [{
"name": "application",
"image": image_name,
"imagePullPolicy": "IfNotPresent"
"imagePullPolicy": "IfNotPresent",
"ports": [{"containerPort": port}],
"command": [command] if command else None,
"args": args.split(',') if args else [],
Expand Down

0 comments on commit 0d8ef40

Please sign in to comment.