Compare commits
2 commits
67bf25a0a0
...
607bc7b5fe
Author | SHA1 | Date | |
---|---|---|---|
607bc7b5fe | |||
a5714a258e |
2 changed files with 22 additions and 15 deletions
|
@ -97,7 +97,13 @@ def cli():
|
||||||
help="Try to fetch certificates and deploy",
|
help="Try to fetch certificates and deploy",
|
||||||
)
|
)
|
||||||
@click.option("--skip-master-check", type=bool, is_flag=True)
|
@click.option("--skip-master-check", type=bool, is_flag=True)
|
||||||
def up(certs_only: bool, skip_master_check: bool):
|
@click.option(
|
||||||
|
"--skip-certs",
|
||||||
|
type=bool,
|
||||||
|
is_flag=True,
|
||||||
|
help="Do not fetch certificates",
|
||||||
|
)
|
||||||
|
def up(certs_only: bool, skip_master_check: bool, skip_certs: bool):
|
||||||
"""Deploy the configuration to the cluster
|
"""Deploy the configuration to the cluster
|
||||||
|
|
||||||
Does the following:
|
Does the following:
|
||||||
|
@ -123,6 +129,7 @@ def up(certs_only: bool, skip_master_check: bool):
|
||||||
Path(CONFIG["dehydrated_dir"]) / "domains.txt",
|
Path(CONFIG["dehydrated_dir"]) / "domains.txt",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not skip_certs:
|
||||||
ec, stdout = sysaction.run_shell(
|
ec, stdout = sysaction.run_shell(
|
||||||
(
|
(
|
||||||
str(dehydrated_dir / "dehydrated.sh"),
|
str(dehydrated_dir / "dehydrated.sh"),
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='ncc',
|
name='ncc',
|
||||||
version='1.0.2',
|
version='1.1.0',
|
||||||
packages=['ncc'],
|
packages=['ncc'],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'click',
|
'click',
|
||||||
|
|
Loading…
Reference in a new issue