From 3f6a85e09083b803b3aceeb75739fd047d807225 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Wed, 22 Nov 2023 07:22:30 -0700 Subject: [PATCH] Add arguments --- stack_orchestrator/deploy/webapp/deploy_webapp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stack_orchestrator/deploy/webapp/deploy_webapp.py b/stack_orchestrator/deploy/webapp/deploy_webapp.py index aa530f60..75aa863c 100644 --- a/stack_orchestrator/deploy/webapp/deploy_webapp.py +++ b/stack_orchestrator/deploy/webapp/deploy_webapp.py @@ -31,10 +31,10 @@ def command(ctx): @command.command() @click.option("--kube-config", help="Provide a config file for a k8s deployment") @click.option("--image-registry", help="Provide a container image registry url for this k8s cluster") -@click.option("--deployment-dir", help="Create deployment files in this directory") +@click.option("--deployment-dir", help="Create deployment files in this directory", required=True) @click.option("--image", help="image to deploy", required=True) @click.option("--env-file", help="environment file for webapp") @click.pass_context -def create(ctx, image, deploy_to, env_file): +def create(ctx, deployment_dir, image, kube_config, image_registry, env_file): '''create a deployment for the specified webapp container''' pass