Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b598cd

Browse files
committed
docs: add note advising against shared CODER_CACHE_DIRECTORY dir
Signed-off-by: Danny Kopping <[email protected]>
1 parent f50e1d5 commit 3b598cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

codersdk/deployment.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,8 @@ when required by your organization's security policy.`,
19781978
},
19791979
{
19801980
Name: "Cache Directory",
1981-
Description: "The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is set, it will be used for compatibility with systemd.",
1981+
Description: "The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is set, it will be used for compatibility with systemd. " +
1982+
"This directory is NOT safe to be configured as a shared directory across coderd/provisionerd replicas.",
19821983
Flag: "cache-dir",
19831984
Env: "CODER_CACHE_DIRECTORY",
19841985
Default: DefaultCacheDir(),

docs/cli/server.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)