43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"id": "kubernetes",
|
|
"display_name": "Kubernetes",
|
|
"os": "linux",
|
|
"default_context": {
|
|
"container_image": "codercom/example-base:ubuntu"
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "container_image",
|
|
"type": "string",
|
|
"description": "Container image for workspaces. The image determines which tools and languages are available in the workspace by default. See the template README for guidance on choosing an image.",
|
|
"default": "codercom/example-base:ubuntu",
|
|
"required": false,
|
|
"sensitive": false,
|
|
"computed": false
|
|
},
|
|
{
|
|
"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
|
|
}
|
|
],
|
|
"agents": [
|
|
{
|
|
"name": "main",
|
|
"default": true
|
|
}
|
|
]
|
|
}
|