mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add user quiet hours schedule and restart requirement feature flag (#8115)
This commit is contained in:
+14
@@ -377,6 +377,20 @@ telemetrywhen required by your organization's security policy.
|
||||
anonymized application tracing to help improve our product. Disabling
|
||||
telemetry also disables this option.
|
||||
|
||||
[1mUser Quiet Hours Schedule Options[0m
|
||||
Allow users to set quiet hours schedules each day for workspaces to avoid
|
||||
workspaces stopping during the day due to template max TTL.
|
||||
|
||||
--default-quiet-hours-schedule string, $CODER_QUIET_HOURS_DEFAULT_SCHEDULE
|
||||
The default daily cron schedule applied to users that haven't set a
|
||||
custom quiet hours schedule themselves. The quiet hours schedule
|
||||
determines when workspaces will be force stopped due to the template's
|
||||
max TTL, and will round the max TTL up to be within the user's quiet
|
||||
hours window (or default). The format is the same as the standard cron
|
||||
format, but the day-of-month, month and day-of-week must be *. Only
|
||||
one hour and minute can be specified (ranges or comma separated values
|
||||
are not supported).
|
||||
|
||||
[1m⚠️ Dangerous Options[0m
|
||||
--dangerous-allow-path-app-sharing bool, $CODER_DANGEROUS_ALLOW_PATH_APP_SHARING
|
||||
Allow workspace apps that are not served from subdomains to be shared.
|
||||
|
||||
+12
@@ -369,3 +369,15 @@ supportLinks: []
|
||||
# "tunnel.example.com".
|
||||
# (default: <unset>, type: string)
|
||||
wgtunnelHost: ""
|
||||
# Allow users to set quiet hours schedules each day for workspaces to avoid
|
||||
# workspaces stopping during the day due to template max TTL.
|
||||
userQuietHoursSchedule:
|
||||
# The default daily cron schedule applied to users that haven't set a custom quiet
|
||||
# hours schedule themselves. The quiet hours schedule determines when workspaces
|
||||
# will be force stopped due to the template's max TTL, and will round the max TTL
|
||||
# up to be within the user's quiet hours window (or default). The format is the
|
||||
# same as the standard cron format, but the day-of-month, month and day-of-week
|
||||
# must be *. Only one hour and minute can be specified (ranges or comma separated
|
||||
# values are not supported).
|
||||
# (default: <unset>, type: string)
|
||||
defaultQuietHoursSchedule: ""
|
||||
|
||||
Reference in New Issue
Block a user