mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
docs: make use of display_name and name in Open with Coder (#7372)
This PR removed the spaces from `name` and makes it equal to the resource name as we now have a sperate field `display_name` https://github.com/coder/coder/pull/6919 The docs references https://github.com/bpmct/coder-templates/tree/main/kubernetes-open-in-coder example which does not yet makes use of `display name` and needs updating.
This commit is contained in:
Vendored
+4
-3
@@ -54,8 +54,9 @@ To support any infrastructure and software stack, Coder provides a generic appro
|
||||
|
||||
# Prompt the user for the git repo URL
|
||||
data "coder_parameter" "git_repo" {
|
||||
name = "Git repository"
|
||||
default = "https://github.com/coder/coder"
|
||||
name = "git_repo"
|
||||
display_name = "Git repository"
|
||||
default = "https://github.com/coder/coder"
|
||||
}
|
||||
|
||||
locals {
|
||||
@@ -90,7 +91,7 @@ To support any infrastructure and software stack, Coder provides a generic appro
|
||||
This can be used to pre-fill the git repo URL, disk size, image, etc.
|
||||
|
||||
```md
|
||||
[](https://YOUR_ACCESS_URL/templates/YOUR_TEMPLATE/workspace?param.Git%20repository=https://github.com/coder/slog¶m.Home%20Disk%20Size%20%28GB%29=20)
|
||||
[](https://YOUR_ACCESS_URL/templates/YOUR_TEMPLATE/workspace?param.git_repo=https://github.com/coder/slog¶m.home_disk_size%20%28GB%29=20)
|
||||
```
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user