CoderTemplate¶
API identity¶
- Group/version:
aggregation.coder.com/v1alpha1 - Kind:
CoderTemplate - Resource:
codertemplates - Scope: namespaced
Spec¶
| Field | Type | Description |
|---|---|---|
organization |
string | Organization is the Coder organization name (must match the organization prefix in metadata.name). |
versionID |
string | VersionID is the Coder template version UUID used on creation (required for CREATE). |
displayName |
string | |
description |
string | |
icon |
string | |
files |
object (keys:string, values:string) | Files is the template source tree for the active template version. Keys are slash-delimited relative paths (e.g. "main.tf"). Values are UTF-8 file contents. Populated on GET; intentionally omitted from LIST to keep responses small. On CREATE/UPDATE with files, the server uploads source and creates a new template version. |
running |
boolean | Running is a legacy flag retained temporarily for in-repo callers that still read template run-state directly. |
Status¶
| Field | Type | Description |
|---|---|---|
id |
string | |
organizationName |
string | |
activeVersionID |
string | |
deprecated |
boolean | |
updatedAt |
Time | |
autoShutdown |
Time | AutoShutdown is a legacy timestamp retained temporarily for in-repo callers that still surface template shutdown timestamps. |
Source¶
- Go type:
api/aggregation/v1alpha1/types.go - APIService registration manifest:
deploy/apiserver-apiservice.yaml