Skip to content

Commit a6281b2

Browse files
committed
caddy: --install-namespace if not exists
1 parent 9829d18 commit a6281b2

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
@@ -144,7 +144,7 @@ def deploy_caddy(directory: Path, debug: bool):
144144
if not network_file.get(name, {}).get("enabled", False):
145145
return
146146

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

0 commit comments

Comments
 (0)