feat: add base template variables to API (#26425)

This commit is contained in:
Jeremy Ruppel
2026-06-17 12:22:35 -04:00
committed by GitHub
parent 6c95a618b4
commit 87de6dc23e
11 changed files with 258 additions and 54 deletions
@@ -4,5 +4,24 @@
"os": "linux",
"default_context": {
"container_image": "codercom/enterprise-base:ubuntu"
}
},
"variables": [
{
"name": "use_kubeconfig",
"type": "bool",
"description": "Use host kubeconfig. Set to true if the Coder host is running outside the Kubernetes cluster for workspaces.",
"default": false,
"required": false,
"sensitive": false,
"computed": false
},
{
"name": "namespace",
"type": "string",
"description": "The Kubernetes namespace to create workspaces in. Must exist prior to creating workspaces.",
"required": true,
"sensitive": false,
"computed": false
}
]
}