You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
impl: add support for matching agent by name (#146)
This PR adds support for matching workspace agent in the URI via the
`agent_name` query param. The existing support for `agent_id` is dropped
and replaced by the new param.
@@ -198,56 +202,56 @@ storage paths. The options can be configured from the plugin's main Workspaces p
198
202
### CLI related settings
199
203
200
204
-`Binary source` specifies the source URL or relative path from which the Coder CLI should be downloaded.
201
-
If a relative path is provided, it is resolved against the deployment domain.
205
+
If a relative path is provided, it is resolved against the deployment domain.
202
206
203
207
-`Enable downloads` allows automatic downloading of the CLI if the current version is missing or outdated.
204
208
205
209
-`Binary directory` specifies the directory where CLI binaries are stored. If omitted, it defaults to the data
206
-
directory.
210
+
directory.
207
211
208
212
-`Enable binary directory fallback` if enabled, falls back to the data directory when the specified binary
209
-
directory is not writable.
213
+
directory is not writable.
210
214
211
215
-`Data directory` directory where plugin-specific data such as session tokens and binaries are stored if not
212
-
overridden by the binary directory setting.
216
+
overridden by the binary directory setting.
213
217
214
218
-`Header command` command that outputs additional HTTP headers. Each line of output must be in the format key=value.
215
-
The environment variable CODER_URL will be available to the command process.
219
+
The environment variable CODER_URL will be available to the command process.
216
220
217
221
### TLS settings
218
222
219
223
The following options control the secure communication behavior of the plugin with Coder deployment and its available
220
224
API.
221
225
222
226
-`TLS cert path` path to a client certificate file for TLS authentication with Coder deployment.
223
-
The certificate should be in X.509 PEM format.
227
+
The certificate should be in X.509 PEM format.
224
228
225
229
-`TLS key path` path to the private key corresponding to the TLS certificate from above.
226
-
The certificate should be in X.509 PEM format.
230
+
The certificate should be in X.509 PEM format.
227
231
228
232
-`TLS CA path` the path of a file containing certificates for an alternate certificate authority used to verify TLS
229
-
certs returned by the Coder deployment. The file should be in X.509 PEM format. This option can also be used to verify
230
-
proxy certificates.
233
+
certs returned by the Coder deployment. The file should be in X.509 PEM format. This option can also be used to verify
234
+
proxy certificates.
231
235
232
236
-`TLS alternate hostname` overrides the hostname used in TLS verification. This is useful when the hostname
233
-
used to connect to the Coder deployment does not match the hostname in the TLS certificate.
237
+
used to connect to the Coder deployment does not match the hostname in the TLS certificate.
234
238
235
239
### SSH settings
236
240
237
241
The following options control the SSH behavior of the Coder CLI.
238
242
239
243
-`Disable autostart` adds the --disable-autostart flag to the SSH proxy command, preventing the CLI from keeping
240
-
workspaces constantly active.
244
+
workspaces constantly active.
241
245
242
246
-`Enable SSH wildcard config` enables or disables wildcard entries in the SSH configuration, which allow generic
243
-
rules for matching multiple workspaces.
247
+
rules for matching multiple workspaces.
244
248
245
249
-`SSH proxy log directory` directory where SSH proxy logs are written. Useful for debugging SSH connection issues.
246
250
247
251
-`SSH network metrics directory` directory where network information used by the SSH proxy is stored.
248
252
249
253
-`Extra SSH options` additional options appended to the SSH configuration. Can be used to customize the behavior of
250
-
SSH connections.
254
+
SSH connections.
251
255
252
256
### Saving Changes
253
257
@@ -256,7 +260,7 @@ support, may trigger regeneration of SSH configurations.
256
260
257
261
### Security considerations
258
262
259
-
> [!IMPORTANT]
263
+
> [!IMPORTANT]
260
264
> Token authentication is required when TLS certificates are not configured.
261
265
262
266
## Releasing
@@ -269,6 +273,7 @@ support, may trigger regeneration of SSH configurations.
269
273
JetBrains enabled auto-approval for the plugin, so we need to ensure we continue to meet the following requirements:
270
274
- do **not** use Kotlin experimental APIs.
271
275
- do **not** add any lambdas, handlers, or class handles to Java runtime hooks.
272
-
- do **not** create threads manually (including via libraries). If you must, ensure they are properly cleaned up in the plugin's `CoderRemoteProvider#close()` method.
276
+
- do **not** create threads manually (including via libraries). If you must, ensure they are properly cleaned up in
277
+
the plugin's `CoderRemoteProvider#close()` method.
273
278
- do **not** bundle libraries that are already provided by Toolbox.
0 commit comments