docs: advise against shared CODER_CACHE_DIRECTORY dir usage in note (#14216)

This commit is contained in:
Danny Kopping
2024-08-08 12:42:47 +00:00
committed by GitHub
parent f50e1d5a9a
commit d79a7adf99
5 changed files with 15 additions and 11 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ OPTIONS:
--cache-dir string, $CODER_CACHE_DIRECTORY (default: [cache dir])
The directory to cache temporary files. If unspecified and
$CACHE_DIRECTORY is set, it will be used for compatibility with
systemd.
systemd. This directory is NOT safe to be configured as a shared
directory across coderd/provisionerd replicas.
--disable-owner-workspace-access bool, $CODER_DISABLE_OWNER_WORKSPACE_ACCESS
Remove the permission for the 'owner' role to have workspace execution
+2 -1
View File
@@ -414,7 +414,8 @@ updateCheck: false
# (default: <unset>, type: bool)
enableSwagger: false
# The directory to cache temporary files. If unspecified and $CACHE_DIRECTORY is
# set, it will be used for compatibility with systemd.
# set, it will be used for compatibility with systemd. This directory is NOT safe
# to be configured as a shared directory across coderd/provisionerd replicas.
# (default: [cache dir], type: string)
cacheDir: [cache dir]
# Controls whether data will be stored in an in-memory database.