Skip to content

chore: unify template naming #15757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: rename devcontainer-kubernetes template to `kubernetes-devco…
…ntainer`
  • Loading branch information
phorcys420 committed Dec 4, 2024
commit ebf63e7b83740e8dee80782c2f7f5871602c1c85
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ choose a template from the
1. Use the `template init` command to initialize your choice of image:

```shell
coder template init --id devcontainer-kubernetes
coder template init --id kubernetes-devcontainer
```

A list of available templates is shown in the
Expand All @@ -47,7 +47,7 @@ choose a template from the
1. `cd` into the directory and push the template to your Coder deployment:

```shell
cd devcontainer-kubernetes && coder templates push
cd kubernetes-devcontainer && coder templates push
```

You can also edit the files or make changes to the files before you push them
Expand Down Expand Up @@ -123,7 +123,7 @@ their development environments:
| Template | Description |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Docker dev containers](https://github.com/coder/coder/tree/main/examples/templates/docker-devcontainer) | Docker provisions a development container. |
| [Kubernetes dev containers](https://github.com/coder/coder/tree/main/examples/templates/devcontainer-kubernetes) | Provisions a development container on the Kubernetes cluster. |
| [Kubernetes dev containers](https://github.com/coder/coder/tree/main/examples/templates/kubernetes-devcontainer) | Provisions a development container on the Kubernetes cluster. |
| [Google Compute Engine dev container](https://github.com/coder/coder/tree/main/examples/templates/gcp-devcontainer) | Runs a development container inside a single GCP instance. It also mounts the Docker socket from the VM inside the container to enable Docker inside the workspace. |
| [AWS EC2 dev container](https://github.com/coder/coder/tree/main/examples/templates/aws-devcontainer) | Runs a development container inside a single EC2 instance. It also mounts the Docker socket from the VM inside the container to enable Docker inside the workspace. |

Expand Down
2 changes: 1 addition & 1 deletion examples/examples.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ var (
//go:embed templates/do-linux
//go:embed templates/docker
//go:embed templates/docker-devcontainer
//go:embed templates/devcontainer-kubernetes
//go:embed templates/gcp-devcontainer
//go:embed templates/gcp-linux
//go:embed templates/gcp-vm-container
//go:embed templates/gcp-windows
//go:embed templates/kubernetes
//go:embed templates/kubernetes-devcontainer
//go:embed templates/nomad-docker
//go:embed templates/scratch
files embed.FS
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
display_name: Devcontainers (Kubernetes)
display_name: Kubernetes (Devcontainer)
description: Provision envbuilder pods as Coder workspaces
icon: ../../../site/static/icon/k8s.png
maintainer_github: coder
Expand Down