help='''list of VIM networks, in JSON inline format, where the cluster is
accessible via L3 routing, e.g. "{(k8s_net1:vim_network1) [,(k8s_net2:vim_network2) ...]}"''',
)
-@click.option(
- "--init-helm2/--skip-helm2",
- required=False,
- default=True,
- help="Initialize helm v2",
-)
@click.option(
"--init-helm3/--skip-helm3",
required=False,
version,
vim,
k8s_nets,
- init_helm2,
init_helm3,
init_jujubundle,
description,
cluster["k8s_version"] = version
cluster["vim_account"] = vim
cluster["nets"] = yaml.safe_load(k8s_nets)
- if not (init_helm2 and init_jujubundle and init_helm3):
+ if not (init_jujubundle and init_helm3):
cluster["deployment_methods"] = {
- "helm-chart": init_helm2,
"juju-bundle": init_jujubundle,
"helm-chart-v3": init_helm3,
}