Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5ce911

Browse files
authored
docs: make use ofdisplay_name andname 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`#6919The docs referenceshttps://github.com/bpmct/coder-templates/tree/main/kubernetes-open-in-coder example which does not yet makes use of `display name` and needs updating.
1 parenta1db825 commitf5ce911

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎docs/templates/open-in-coder.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ To support any infrastructure and software stack, Coder provides a generic appro
5454
5555
# Prompt the user for the git repo URL
5656
data "coder_parameter" "git_repo" {
57-
name = "Git repository"
58-
default = "https://github.com/coder/coder"
57+
name = "git_repo"
58+
display_name = "Git repository"
59+
default = "https://github.com/coder/coder"
5960
}
6061
6162
locals {
@@ -90,7 +91,7 @@ To support any infrastructure and software stack, Coder provides a generic appro
9091
This can be used to pre-fill the git repo URL, disk size, image, etc.
9192

9293
```md
93-
[![Open in Coder](https://YOUR_ACCESS_URL/open-in-coder.svg)](https://YOUR_ACCESS_URL/templates/YOUR_TEMPLATE/workspace?param.Git%20repository=https://github.com/coder/slog&param.Home%20Disk%20Size%20%28GB%29=20)
94+
[![Open in Coder](https://YOUR_ACCESS_URL/open-in-coder.svg)](https://YOUR_ACCESS_URL/templates/YOUR_TEMPLATE/workspace?param.git_repo=https://github.com/coder/slog&param.home_disk_size%20%28GB%29=20)
9495
```
9596

9697
![Pre-filled parameters](../images/templates/pre-filled-parameters.png)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp