Skip to content

Commit a902cee

Browse files
committed
caddy: --install-namespace if not exists
1 parent d1d2e06 commit a902cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def deploy_caddy(directory: Path, debug: bool):
166166
if not network_file.get(name, {}).get("enabled", False):
167167
return
168168

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

0 commit comments

Comments
 (0)