moved '--namespace' arg outside from the mutually_exclusive_group parser
@@ -11,10 +11,11 @@ IMAGE_FQDN_TEMPLATE = "quay.io/ocpmetal/{}:{}"
def load_deployment_options(parser=None):
if not parser:
parser = argparse.ArgumentParser()
- deploy_options = parser.add_mutually_exclusive_group()
+ parser.add_argument('--namespace', help='Namespace for all deployment images', type=str, default='assisted-installer')
+
+ deploy_options = parser.add_mutually_exclusive_group()
deploy_options.add_argument("--deploy-tag", help='Tag for all deployment images', type=str)
- deploy_options.add_argument('--namespace', help='Namespace for all deployment images', type=str, default='assisted-installer')
deploy_options.add_argument("--deploy-manifest-tag", help='Tag of the assisted-installer-deployment repo to get the deployment images manifest from', type=str)
deploy_options.add_argument("--deploy-manifest-path", help='Path to local deployment images manifest', type=str)
return parser.parse_args()
