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:
+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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user