@@ -50,34 +50,45 @@ server.
50
50
51
51
### Icons
52
52
53
- The link icons are optional, and can be set to any url or bultin icon, additionally ` bug ` , ` chat ` , and ` docs ` are availble as three special icons.
53
+ The link icons are optional, and can be set to any url or builtin icon,
54
+ additionally ` bug ` , ` chat ` , and ` docs ` are available as three special icons.
54
55
55
56
### Configuration
56
57
57
58
<div class =tab >
58
59
59
60
#### Kubernetes
60
61
61
- To configure support links in your Coder Kubernetes
62
- deployment, update your Helm chart values as follows:
62
+ To configure support links in your Coder Kubernetes deployment, update your Helm
63
+ chart values as follows:
63
64
64
65
``` yaml
65
66
coder :
66
67
env :
67
- - name : CODER_SUPPORT_LINKS
68
- value : >
69
- [{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"},
70
- {"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "/icon/slack.svg"},
71
- {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "/icon/discord.svg"},
72
- {"name": "Hello Foobar", "target": "https://foo.com/bar", "icon": "/emojis/1f3e1.png"}]
68
+ - name : CODER_SUPPORT_LINKS
69
+ value : >
70
+ [{"name": "Hello GitHub", "target": "https://github.com/coder/coder",
71
+ "icon": "bug"},
72
+ {"name": "Hello Slack", "target":
73
+ "https://codercom.slack.com/archives/C014JH42DBJ", "icon":
74
+ "/icon/slack.svg"},
75
+ {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon":
76
+ "/icon/discord.svg"},
77
+ {"name": "Hello Foobar", "target": "https://foo.com/bar", "icon":
78
+ "/emojis/1f3e1.png"}]
73
79
` ` `
74
80
75
81
#### System package
76
- if running as a sytem servive, set an envrionment variable ` CODER_SUPPORT_LINKS` in `/etc/coder.d/coder.env` as follows,
82
+
83
+ if running as a system service, set an environment variable ` CODER_SUPPORT_LINKS`
84
+ in `/etc/coder.d/coder.env` as follows,
85
+
77
86
` ` ` env
78
87
CODER_SUPPORT_LINKS='[{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"}, {"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/slack.svg"}, {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/discord.svg"}, {"name": "Hello Foobar", "target": "https://discord.gg/coder", "icon": "/emojis/1f3e1.png"}]'
79
88
` ` `
80
- For CLI, use.
89
+
90
+ For CLI, use,
91
+
81
92
` ` ` shell
82
93
export CODER_SUPPORT_LINKS='[{"name": "Hello GitHub", "target": "https://github.com/coder/coder", "icon": "bug"}, {"name": "Hello Slack", "target": "https://codercom.slack.com/archives/C014JH42DBJ", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/slack.svg"}, {"name": "Hello Discord", "target": "https://discord.gg/coder", "icon": "https://raw.githubusercontent.com/coder/coder/main/site/static/icon/discord.svg"}, {"name": "Hello Foobar", "target": "https://discord.gg/coder", "icon": "/emojis/1f3e1.png"}]'
83
94
coder-server
0 commit comments