feat: add cli support for --require-active-version (#10337)

This commit is contained in:
Jon Ayers
2023-10-19 17:16:15 -05:00
committed by GitHub
parent b799014832
commit f5f150d568
19 changed files with 626 additions and 50 deletions
+1
View File
@@ -2850,6 +2850,7 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
| `template_autostop_requirement` |
| `deployment_health_page` |
| `dashboard_theme` |
| `template_update_policies` |
## codersdk.ExternalAuth
+9
View File
@@ -89,6 +89,15 @@ Disable the default behavior of granting template access to the 'everyone' group
Specify a set of tags to target provisioner daemons.
### --require-active-version
| | |
| ------- | ------------------ |
| Type | <code>bool</code> |
| Default | <code>false</code> |
Requires workspace builds to use the active template version. This setting does not apply to template admins. This is an enterprise-only feature.
### --var
| | |
+9
View File
@@ -113,6 +113,15 @@ Edit the template maximum time before shutdown - workspaces created from this te
Edit the template name.
### --require-active-version
| | |
| ------- | ------------------ |
| Type | <code>bool</code> |
| Default | <code>false</code> |
Requires workspace builds to use the active template version. This setting does not apply to template admins. This is an enterprise-only feature.
### -y, --yes
| | |