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

Skip to content

Commit e0e10cb

Browse files
committed
making...
Signed-off-by: Danny Kopping <[email protected]>
1 parent 3b598cd commit e0e10cb

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

cli/testdata/coder_server_--help.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ OPTIONS:
2222
--cache-dir string, $CODER_CACHE_DIRECTORY (default: [cache dir])
2323
The directory to cache temporary files. If unspecified and
2424
$CACHE_DIRECTORY is set, it will be used for compatibility with
25-
systemd.
25+
systemd. This directory is NOT safe to be configured as a shared
26+
directory across coderd/provisionerd replicas.
2627

2728
--disable-owner-workspace-access bool, $CODER_DISABLE_OWNER_WORKSPACE_ACCESS
2829
Remove the permission for the 'owner' role to have workspace execution

cli/testdata/server-config.yaml.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,8 @@ updateCheck: false
414414
# (default: <unset>, type: bool)
415415
enableSwagger: false
416416
# The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is
417-
# set, it will be used for compatibility with systemd.
417+
# set, it will be used for compatibility with systemd. This directory is NOT safe
418+
# to be configured as a shared directory across coderd/provisionerd replicas.
418419
# (default: [cache dir], type: string)
419420
cacheDir: [cache dir]
420421
# Controls whether data will be stored in an in-memory database.

codersdk/deployment.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,14 +1977,14 @@ when required by your organization's security policy.`,
19771977
Annotations: serpent.Annotations{}.Mark(annotationExternalProxies, "true"),
19781978
},
19791979
{
1980-
Name: "Cache Directory",
1980+
Name: "Cache Directory",
19811981
Description: "The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is set, it will be used for compatibility with systemd. " +
19821982
"This directory is NOT safe to be configured as a shared directory across coderd/provisionerd replicas.",
1983-
Flag: "cache-dir",
1984-
Env: "CODER_CACHE_DIRECTORY",
1985-
Default: DefaultCacheDir(),
1986-
Value: &c.CacheDir,
1987-
YAML: "cacheDir",
1983+
Flag: "cache-dir",
1984+
Env: "CODER_CACHE_DIRECTORY",
1985+
Default: DefaultCacheDir(),
1986+
Value: &c.CacheDir,
1987+
YAML: "cacheDir",
19881988
},
19891989
{
19901990
Name: "In Memory Database",

enterprise/cli/testdata/coder_server_--help.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ OPTIONS:
2323
--cache-dir string, $CODER_CACHE_DIRECTORY (default: [cache dir])
2424
The directory to cache temporary files. If unspecified and
2525
$CACHE_DIRECTORY is set, it will be used for compatibility with
26-
systemd.
26+
systemd. This directory is NOT safe to be configured as a shared
27+
directory across coderd/provisionerd replicas.
2728

2829
--disable-owner-workspace-access bool, $CODER_DISABLE_OWNER_WORKSPACE_ACCESS
2930
Remove the permission for the 'owner' role to have workspace execution

0 commit comments

Comments
 (0)