Add --port option to run-webapp. (#667)

* Add --port option to run-webapp

* Fixed merge

* lint
This commit is contained in:
2023-11-29 11:32:28 -06:00
committed by GitHub
parent 113c0bfbf1
commit 03a3645b3c
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ class K8sDeployer(Deployer):
log_data = self.core_api.read_namespaced_pod_log(k8s_pod_name, namespace="default", container="test")
return log_stream_from_string(log_data)
def run(self, image: str, command=None, user=None, volumes=None, entrypoint=None, env={}, detach=False):
def run(self, image: str, command=None, user=None, volumes=None, entrypoint=None, env={}, ports=[], detach=False):
# We need to figure out how to do this -- check why we're being called first
pass