mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove max_ttl from templates (#12644)
* chore: remove max_ttl from templates Completely removing max_ttl as a feature on template scheduling. Must use other template scheduling features to achieve autostop.
This commit is contained in:
+1
-1
@@ -467,7 +467,7 @@ telemetrywhen required by your organization's security policy.
|
||||
|
||||
USER QUIET HOURS SCHEDULE OPTIONS:
|
||||
Allow users to set quiet hours schedules each day for workspaces to avoid
|
||||
workspaces stopping during the day due to template max TTL.
|
||||
workspaces stopping during the day due to template scheduling.
|
||||
|
||||
--allow-custom-quiet-hours bool, $CODER_ALLOW_CUSTOM_QUIET_HOURS (default: true)
|
||||
Allow users to set their own quiet hours schedule for workspaces to
|
||||
|
||||
@@ -35,11 +35,6 @@ OPTIONS:
|
||||
Ignore warnings about not having a .terraform.lock.hcl file present in
|
||||
the template.
|
||||
|
||||
--max-ttl duration
|
||||
Edit the template maximum time before shutdown - workspaces created
|
||||
from this template must shutdown within the given duration after
|
||||
starting. This is an enterprise-only feature.
|
||||
|
||||
-m, --message string
|
||||
Specify a message describing the changes in this version of the
|
||||
template. Messages longer than 72 characters will be displayed as
|
||||
|
||||
+10
-6
@@ -28,6 +28,16 @@ OPTIONS:
|
||||
this value for the template (and allow autostart on all days), pass
|
||||
'all'.
|
||||
|
||||
--autostop-requirement-weekdays string-array
|
||||
Edit the template autostop requirement weekdays - workspaces created
|
||||
from this template must be restarted on the given weekdays. To unset
|
||||
this value for the template (and disable the autostop requirement for
|
||||
the template), pass 'none'.
|
||||
|
||||
--autostop-requirement-weeks int
|
||||
Edit the template autostop requirement weeks - workspaces created from
|
||||
this template must be restarted on an n-weekly basis.
|
||||
|
||||
--default-ttl duration
|
||||
Edit the template default time before shutdown - workspaces created
|
||||
from this template default to this value. Maps to "Default autostop"
|
||||
@@ -62,12 +72,6 @@ OPTIONS:
|
||||
--icon string
|
||||
Edit the template icon path.
|
||||
|
||||
--max-ttl duration
|
||||
Edit the template maximum time before shutdown - workspaces created
|
||||
from this template must shutdown within the given duration after
|
||||
starting, regardless of user activity. This is an enterprise-only
|
||||
feature. Maps to "Max lifetime" in the UI.
|
||||
|
||||
--name string
|
||||
Edit the template name.
|
||||
|
||||
|
||||
+1
-1
@@ -462,7 +462,7 @@ externalAuthProviders: []
|
||||
# (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.
|
||||
# workspaces stopping during the day due to template scheduling.
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user