Skip to content

Commit

Permalink
caddy: --install-namespace if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
willcl-ark committed Oct 12, 2024
1 parent d1d2e06 commit a902cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/warnet/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def deploy_caddy(directory: Path, debug: bool):
if not network_file.get(name, {}).get("enabled", False):
return

cmd = f"{HELM_COMMAND} {name} {CADDY_CHART} --namespace {namespace}"
cmd = f"{HELM_COMMAND} {name} {CADDY_CHART} --namespace {namespace} --create-namespace"
if debug:
cmd += " --debug"

Expand Down

0 comments on commit a902cee

Please sign in to comment.