From ba56dad9b43de8b5f608262100e3bf829e49b63d Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 18:54:42 +0000 Subject: [PATCH 01/14] update md snippet for gfm alerts --- .vscode/markdown.code-snippets | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.vscode/markdown.code-snippets b/.vscode/markdown.code-snippets index bdd3463b48836..dfb0c6c2a511c 100644 --- a/.vscode/markdown.code-snippets +++ b/.vscode/markdown.code-snippets @@ -1,14 +1,14 @@ { // For info about snippets, visit https://code.visualstudio.com/docs/editor/userdefinedsnippets + // https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts - "admonition": { - "prefix": "#callout", + "alert": { + "prefix": "#alert", "body": [ - "
\n", - "${TM_SELECTED_TEXT:${2:add info here}}\n", - "\n" + "> [!${1|caution,important,note,tip,warning|}]\n", + "> ${TM_SELECTED_TEXT:${2:add info here}}\n\n" ], - "description": "callout admonition caution info note tip warning" + "description": "callout admonition caution important note tip warning" }, "fenced code block": { "prefix": "#codeblock", From 40159cf8a869bc0e65712da55e4d618ef900cc41 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:00:44 +0000 Subject: [PATCH 02/14] remove extra linebreak --- .vscode/markdown.code-snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/markdown.code-snippets b/.vscode/markdown.code-snippets index dfb0c6c2a511c..3e7386802847c 100644 --- a/.vscode/markdown.code-snippets +++ b/.vscode/markdown.code-snippets @@ -5,7 +5,7 @@ "alert": { "prefix": "#alert", "body": [ - "> [!${1|caution,important,note,tip,warning|}]\n", + "> [!${1|caution,important,note,tip,warning|}]", "> ${TM_SELECTED_TEXT:${2:add info here}}\n\n" ], "description": "callout admonition caution important note tip warning" From 50d4d50eacf841198b770120f6587074adbdb405 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:01:54 +0000 Subject: [PATCH 03/14] caps --- .vscode/markdown.code-snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/markdown.code-snippets b/.vscode/markdown.code-snippets index 3e7386802847c..f08b6679015bb 100644 --- a/.vscode/markdown.code-snippets +++ b/.vscode/markdown.code-snippets @@ -5,7 +5,7 @@ "alert": { "prefix": "#alert", "body": [ - "> [!${1|caution,important,note,tip,warning|}]", + "> [!${1|CAUTION,IMPORTANT,NOTE,TIP,WARNING|}]", "> ${TM_SELECTED_TEXT:${2:add info here}}\n\n" ], "description": "callout admonition caution important note tip warning" From dc9f67b2124ce452f96bd47857c4a7f5dd6527c3 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:30:03 +0000 Subject: [PATCH 04/14] gfm alerts all around --- .vscode/markdown.code-snippets | 7 ++- docs/admin/external-auth.md | 31 ++++-------- docs/admin/infrastructure/scale-utility.md | 23 ++++----- docs/admin/integrations/jfrog-artifactory.md | 7 +-- docs/admin/integrations/jfrog-xray.md | 13 ++--- docs/admin/monitoring/health-check.md | 45 ++++++----------- docs/admin/monitoring/notifications/index.md | 9 ++-- docs/admin/networking/index.md | 18 +++---- docs/admin/networking/port-forwarding.md | 9 ++-- docs/admin/setup/appearance.md | 9 ++-- docs/admin/setup/telemetry.md | 5 +- .../extending-templates/external-auth.md | 7 +-- .../provider-authentication.md | 8 +-- .../extending-templates/resource-metadata.md | 5 +- .../templates/managing-templates/index.md | 9 ++-- .../templates/managing-templates/schedule.md | 45 ++++++----------- docs/admin/templates/template-permissions.md | 11 ++-- docs/admin/users/groups-roles.md | 9 ++-- docs/admin/users/idp-sync.md | 50 ++++++------------- docs/admin/users/oidc-auth.md | 9 ++-- docs/contributing/frontend.md | 7 +-- docs/install/cli.md | 7 +-- docs/install/docker.md | 7 +-- docs/install/upgrade.md | 9 ++-- docs/user-guides/workspace-access/zed.md | 11 ++-- docs/user-guides/workspace-management.md | 9 ++-- docs/user-guides/workspace-scheduling.md | 27 ++++------ 27 files changed, 137 insertions(+), 269 deletions(-) diff --git a/.vscode/markdown.code-snippets b/.vscode/markdown.code-snippets index f08b6679015bb..404f7b4682095 100644 --- a/.vscode/markdown.code-snippets +++ b/.vscode/markdown.code-snippets @@ -6,7 +6,7 @@ "prefix": "#alert", "body": [ "> [!${1|CAUTION,IMPORTANT,NOTE,TIP,WARNING|}]", - "> ${TM_SELECTED_TEXT:${2:add info here}}\n\n" + "> ${TM_SELECTED_TEXT:${2:add info here}}\n" ], "description": "callout admonition caution important note tip warning" }, @@ -23,9 +23,8 @@ "premium-feature": { "prefix": "#premium-feature", "body": [ - "
\n", - "${1:feature} ${2|is,are|} an Enterprise and Premium feature. [Learn more](https://coder.com/pricing#compare-plans).\n", - "" + "> [!NOTE]\n", + "> ${1:feature} ${2|is,are|} an Enterprise and Premium feature. [Learn more](https://coder.com/pricing#compare-plans).\n" ] }, "tabs": { diff --git a/docs/admin/external-auth.md b/docs/admin/external-auth.md index ee6510d751a44..1da8db9fdfef1 100644 --- a/docs/admin/external-auth.md +++ b/docs/admin/external-auth.md @@ -120,11 +120,8 @@ The Redirect URI for Gitea should be ### GitHub -
- -If you don't require fine-grained access control, it's easier to [configure a GitHub OAuth app](#configure-a-github-oauth-app). - -+> [!TIP] +> If you don't require fine-grained access control, it's easier to [configure a GitHub OAuth app](#configure-a-github-oauth-app). ```env CODER_EXTERNAL_AUTH_0_ID="USER_DEFINED_ID" @@ -224,24 +221,18 @@ CODER_EXTERNAL_AUTH_0_SCOPES="repo:read repo:write write:gpg_key" ## Multiple External Providers -
- -Multiple providers is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Multiple providers is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Below is an example configuration with multiple providers: -
- -**Note:** To support regex matching for paths like `github\.com/org`, add the following `git config` line to the [Coder agent startup script](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script): - -```shell -git config --global credential.useHttpPath true -``` - -+> [!IMPORTANT] +> To support regex matching for paths like `github\.com/org`, add the following `git config` line to the [Coder agent startup script](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent#startup_script): +> +> ```shell +> git config --global credential.useHttpPath true +> ``` ```env # Provider 1) github.com diff --git a/docs/admin/infrastructure/scale-utility.md b/docs/admin/infrastructure/scale-utility.md index a3162c9fd58f3..3e5fb703bbf7d 100644 --- a/docs/admin/infrastructure/scale-utility.md +++ b/docs/admin/infrastructure/scale-utility.md @@ -36,19 +36,16 @@ Since Coder's performance is highly dependent on the templates and workflows you support, you may wish to use our internal scale testing utility against your own environments. -
- -This utility is experimental. - -It is not subject to any compatibility guarantees and may cause interruptions -for your users. -To avoid potential outages and orphaned resources, we recommend that you run -scale tests on a secondary "staging" environment or a dedicated -[Kubernetes playground cluster](https://github.com/coder/coder/tree/main/scaletest/terraform). - -Run it against a production environment at your own risk. - -+> [!IMPORTANT] +> This utility is experimental. +> +> It is not subject to any compatibility guarantees and may cause interruptions +> for your users. +> To avoid potential outages and orphaned resources, we recommend that you run +> scale tests on a secondary "staging" environment or a dedicated +> [Kubernetes playground cluster](https://github.com/coder/coder/tree/main/scaletest/terraform). +> +> Run it against a production environment at your own risk. ### Create workspaces diff --git a/docs/admin/integrations/jfrog-artifactory.md b/docs/admin/integrations/jfrog-artifactory.md index afc94d6158b94..8f27d687d7e00 100644 --- a/docs/admin/integrations/jfrog-artifactory.md +++ b/docs/admin/integrations/jfrog-artifactory.md @@ -131,11 +131,8 @@ To set this up, follow these steps: } ``` -
- - The admin-level access token is used to provision user tokens and is never exposed to developers or stored in workspaces. - -+ > [!NOTE] + > The admin-level access token is used to provision user tokens and is never exposed to developers or stored in workspaces. If you don't want to use the official modules, you can read through the [example template](https://github.com/coder/coder/tree/main/examples/jfrog/docker), which uses Docker as the underlying compute. The same concepts apply to all compute types. diff --git a/docs/admin/integrations/jfrog-xray.md b/docs/admin/integrations/jfrog-xray.md index f37a813366f76..762d86eb5b4f2 100644 --- a/docs/admin/integrations/jfrog-xray.md +++ b/docs/admin/integrations/jfrog-xray.md @@ -56,14 +56,11 @@ workspaces using Coder's [JFrog Xray Integration](https://github.com/coder/coder --set artifactory.secretName="jfrog-token" ``` -
- - To authenticate with the Artifactory registry, you may need to - create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the - `imagePullSecrets` field of the Kubernetes Pod. See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more - information. - -+ > [!IMPORTANT] + > To authenticate with the Artifactory registry, you may need to + > create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the + > `imagePullSecrets` field of the Kubernetes Pod. + > See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more information. ## Validate your installation diff --git a/docs/admin/monitoring/health-check.md b/docs/admin/monitoring/health-check.md index 0a5c135c6d50f..2d349495a2429 100644 --- a/docs/admin/monitoring/health-check.md +++ b/docs/admin/monitoring/health-check.md @@ -117,15 +117,12 @@ Coder's current activity and usage. It may be necessary to increase the resources allocated to Coder's database. Alternatively, you can raise the configured threshold to a higher value (this will not address the root cause). -
- -You can enable -[detailed database metrics](../../reference/cli/server.md#--prometheus-collect-db-metrics) -in Coder's Prometheus endpoint. If you have -[tracing enabled](../../reference/cli/server.md#--trace), these traces may also -contain useful information regarding Coder's database activity. - -+> [!TIP] +> You can enable +> [detailed database metrics](../../reference/cli/server.md#--prometheus-collect-db-metrics) +> in Coder's Prometheus endpoint. If you have +> [tracing enabled](../../reference/cli/server.md#--trace), these traces may also +> contain useful information regarding Coder's database activity. ## DERP @@ -150,12 +147,9 @@ This is not necessarily a fatal error, but a possible indication of a misconfigured reverse HTTP proxy. Additionally, while workspace users should still be able to reach their workspaces, connection performance may be degraded. -
- -**Note:** This may also be shown if you have -[forced websocket connections for DERP](../../reference/cli/server.md#--derp-force-websockets). - -+> [!NOTE] +> This may also be shown if you have +> [forced websocket connections for DERP](../../reference/cli/server.md#--derp-force-websockets). **Solution:** ensure that any proxies you use allow connection upgrade with the `Upgrade: derp` header. @@ -305,13 +299,10 @@ that they are able to successfully connect to Coder. Otherwise, ensure [`--provisioner-daemons`](../../reference/cli/server.md#--provisioner-daemons) is set to a value greater than 0. -
- -**Note:** This may be a transient issue if you are currently in the process of +> [!NOTE] +> This may be a transient issue if you are currently in the process of updating your deployment. -- ### EPD02 #### Provisioner Daemon Version Mismatch @@ -324,13 +315,10 @@ of API incompatibility. **Solution:** Update the provisioner daemon to match the currently running version of Coder. -
- -**Note:** This may be a transient issue if you are currently in the process of +> [!NOTE] +> This may be a transient issue if you are currently in the process of updating your deployment. -- ### EPD03 #### Provisioner Daemon API Version Mismatch @@ -343,13 +331,10 @@ connect to Coder. **Solution:** Update the provisioner daemon to match the currently running version of Coder. -
- -**Note:** This may be a transient issue if you are currently in the process of +> [!NOTE] +> This may be a transient issue if you are currently in the process of updating your deployment. -- ### EUNKNOWN #### Unknown Error diff --git a/docs/admin/monitoring/notifications/index.md b/docs/admin/monitoring/notifications/index.md index 0ea5fdf136689..ae5d9fc89a274 100644 --- a/docs/admin/monitoring/notifications/index.md +++ b/docs/admin/monitoring/notifications/index.md @@ -242,12 +242,9 @@ notification is indicated on the right hand side of this table. ## Delivery Preferences -
- -Delivery preferences is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Delivery preferences is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Administrators can configure which delivery methods are used for each different [event type](#event-types). diff --git a/docs/admin/networking/index.md b/docs/admin/networking/index.md index 132b4775eeec6..e6dcb2a7d2bcb 100644 --- a/docs/admin/networking/index.md +++ b/docs/admin/networking/index.md @@ -172,12 +172,9 @@ more. ## Browser-only connections -
- -Browser-only connections is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Browser-only connections is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Some Coder deployments require that all access is through the browser to comply with security policies. In these cases, pass the `--browser-only` flag to @@ -189,12 +186,9 @@ via the web terminal and ### Workspace Proxies -
- -Workspace proxies are an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Workspace proxies are an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Workspace proxies are a Coder Enterprise feature that allows you to provide low-latency browser experiences for geo-distributed teams. diff --git a/docs/admin/networking/port-forwarding.md b/docs/admin/networking/port-forwarding.md index 7cab58ff02eb8..cd4c7392ee4ab 100644 --- a/docs/admin/networking/port-forwarding.md +++ b/docs/admin/networking/port-forwarding.md @@ -131,12 +131,9 @@ to the app. ### Configure maximum port sharing level -
- -Configuring port sharing level is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Configuring port sharing level is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Premium-licensed template admins can control the maximum port sharing level for workspaces under a given template in the template settings. By default, the diff --git a/docs/admin/setup/appearance.md b/docs/admin/setup/appearance.md index a1ff8ad1450ae..99eb682ba4693 100644 --- a/docs/admin/setup/appearance.md +++ b/docs/admin/setup/appearance.md @@ -1,11 +1,8 @@ # Appearance -
- -Customizing Coder's appearance is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Customizing Coder's appearance is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Customize the look of your Coder deployment to meet your enterprise requirements. diff --git a/docs/admin/setup/telemetry.md b/docs/admin/setup/telemetry.md index 0402b85859d54..e03b353a044b8 100644 --- a/docs/admin/setup/telemetry.md +++ b/docs/admin/setup/telemetry.md @@ -1,8 +1,7 @@ # Telemetry -
-TL;DR: disable telemetry by setting CODER_TELEMETRY_ENABLE=false
.
-
+> [!NOTE]
+> TL;DR: disable telemetry by setting CODER_TELEMETRY_ENABLE=false
.
Coder collects telemetry from all installations by default. We believe our users
should have the right to know what we collect, why we collect it, and how we use
diff --git a/docs/admin/templates/extending-templates/external-auth.md b/docs/admin/templates/extending-templates/external-auth.md
index ab27780b8b72d..5dc115ed7b2e0 100644
--- a/docs/admin/templates/extending-templates/external-auth.md
+++ b/docs/admin/templates/extending-templates/external-auth.md
@@ -31,11 +31,8 @@ you can require users authenticate via git prior to creating a workspace:
### Native git authentication will auto-refresh tokens
--+> [!TIP] +> This is the preferred authentication method. By default, the coder agent will configure native `git` authentication via the `GIT_ASKPASS` environment variable. Meaning, with no additional configuration, diff --git a/docs/admin/templates/extending-templates/provider-authentication.md b/docs/admin/templates/extending-templates/provider-authentication.md index c2fe8246610bb..fe2572814358d 100644 --- a/docs/admin/templates/extending-templates/provider-authentication.md +++ b/docs/admin/templates/extending-templates/provider-authentication.md @@ -1,11 +1,7 @@ # Provider Authentication -- This is the preferred authentication method. -
-
-+> [!CAUTION] +> Do not store secrets in templates. Assume every user has cleartext access to every template. The Coder server's [provisioner](https://registry.terraform.io/providers/coder/coder/latest/docs/data-sources/provisioner) diff --git a/docs/admin/templates/extending-templates/resource-metadata.md b/docs/admin/templates/extending-templates/resource-metadata.md index aae30e98b5dd0..21f29c10594d4 100644 --- a/docs/admin/templates/extending-templates/resource-metadata.md +++ b/docs/admin/templates/extending-templates/resource-metadata.md @@ -13,9 +13,8 @@ You can use `coder_metadata` to show Terraform resource attributes like these:  -- Do not store secrets in templates. Assume every user has cleartext access - to every template. -
-
-Coder automatically generates the type
metadata.
-
+> [!NOTE]
+> Coder automatically generates the type
metadata.
You can also present automatically updating, dynamic values with
[agent metadata](./agent-metadata.md).
diff --git a/docs/admin/templates/managing-templates/index.md b/docs/admin/templates/managing-templates/index.md
index 7cec832f39c2b..d5163e6ac0477 100644
--- a/docs/admin/templates/managing-templates/index.md
+++ b/docs/admin/templates/managing-templates/index.md
@@ -60,12 +60,9 @@ infrastructure, software, or security patches. Learn more about
### Template update policies
-- -Template update policies are an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Template update policies are an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Licensed template admins may want workspaces to always remain on the latest version of their parent template. To do so, enable **Template Update Policies** diff --git a/docs/admin/templates/managing-templates/schedule.md b/docs/admin/templates/managing-templates/schedule.md index 584bd025d5aa2..62c8d26b68b63 100644 --- a/docs/admin/templates/managing-templates/schedule.md +++ b/docs/admin/templates/managing-templates/schedule.md @@ -28,12 +28,9 @@ manage infrastructure costs. ## Failure cleanup -
- -Failure cleanup is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Failure cleanup is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Failure cleanup defines how long a workspace is permitted to remain in the failed state prior to being automatically stopped. Failure cleanup is only @@ -41,12 +38,9 @@ available for licensed customers. ## Dormancy threshold -
- -Dormancy threshold is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Dormancy threshold is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Dormancy Threshold defines how long Coder allows a workspace to remain inactive before being moved into a dormant state. A workspace's inactivity is determined @@ -58,12 +52,9 @@ only available for licensed customers. ## Dormancy auto-deletion -
- -Dormancy auto-deletion is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Dormancy auto-deletion is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Dormancy Auto-Deletion allows a template admin to dictate how long a workspace is permitted to remain dormant before it is automatically deleted. Dormancy @@ -71,12 +62,9 @@ Auto-Deletion is only available for licensed customers. ## Autostop requirement -
- -Autostop requirement is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Autostop requirement is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Autostop requirement is a template setting that determines how often workspaces using the template must automatically stop. Autostop requirement ignores any @@ -108,12 +96,9 @@ requirement during the deprecation period, but only one can be used at a time. ## User quiet hours -
- -User quiet hours are an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> User quiet hours are an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). User quiet hours can be configured in the user's schedule settings page. Workspaces on templates with an autostop requirement will only be forcibly diff --git a/docs/admin/templates/template-permissions.md b/docs/admin/templates/template-permissions.md index 22452c23dc5b8..9f099aa18848a 100644 --- a/docs/admin/templates/template-permissions.md +++ b/docs/admin/templates/template-permissions.md @@ -1,11 +1,8 @@ # Permissions -
- -Template permissions are an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Template permissions are a Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Licensed Coder administrators can control who can use and modify the template. @@ -24,5 +21,3 @@ user can use the template to create a workspace. To prevent this, disable the `Allow everyone to use the template` setting when creating a template.  - -Permissions is a premium-only feature. diff --git a/docs/admin/users/groups-roles.md b/docs/admin/users/groups-roles.md index d0b9ee0231bf6..ffcf610235c72 100644 --- a/docs/admin/users/groups-roles.md +++ b/docs/admin/users/groups-roles.md @@ -33,12 +33,9 @@ may use personal workspaces. ## Custom Roles -
- -Custom roles are a Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Custom roles are a Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Starting in v2.16.0, Premium Coder deployments can configure custom roles on the [Organization](./organizations.md) level. You can create and assign custom roles diff --git a/docs/admin/users/idp-sync.md b/docs/admin/users/idp-sync.md index ee2dc83be387c..c2661e56deb26 100644 --- a/docs/admin/users/idp-sync.md +++ b/docs/admin/users/idp-sync.md @@ -1,12 +1,9 @@ # IdP Sync -
- -IdP sync is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> IdP sync is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). IdP (Identity provider) sync allows you to use OpenID Connect (OIDC) to synchronize Coder groups, roles, and organizations based on claims from your IdP. @@ -110,13 +107,10 @@ Below is an example that uses the `groups` claim and maps all groups prefixed by } ``` -
- -You must specify Coder group IDs instead of group names. The fastest way to find -the ID for a corresponding group is by visiting -`https://coder.example.com/api/v2/groups`. - -+> [!NOTE] +> You must specify Coder group IDs instead of group names. The fastest way to find +> the ID for a corresponding group is by visiting +> `https://coder.example.com/api/v2/groups`. Here is another example which maps `coder-admins` from the identity provider to two groups in Coder and `coder-users` from the identity provider to another @@ -151,13 +145,9 @@ Visit the Coder UI to confirm these changes: ### Server Flags -
- -Use server flags only with Coder deployments with a single organization. - -You can use the dashboard to configure group sync instead. - -+> [!NOTE] +> Use server flags only with Coder deployments with a single organization. +> You can use the dashboard to configure group sync instead. 1. Configure the Coder server to read groups from the claim name with the [OIDC group field](../../reference/cli/server.md#--oidc-group-field) server @@ -284,13 +274,9 @@ role: } ``` -
- -Be sure to use the `name` field for each role, not the display name. Use -`coder organization roles show --org=+> [!NOTE] +> Be sure to use the `name` field for each role, not the display name. +> Use `coder organization roles show --org=` to see roles for your -organization. - -
- -Use server flags only with Coder deployments with a single organization. - -You can use the dashboard to configure role sync instead. - -+> [!NOTE] +> Use server flags only with Coder deployments with a single organization. +> You can use the dashboard to configure role sync instead. 1. Configure the Coder server to read groups from the claim name with the [OIDC role field](../../reference/cli/server.md#--oidc-user-role-field) diff --git a/docs/admin/users/oidc-auth.md b/docs/admin/users/oidc-auth.md index 5c46c5781670c..823e49c0bd351 100644 --- a/docs/admin/users/oidc-auth.md +++ b/docs/admin/users/oidc-auth.md @@ -99,12 +99,9 @@ CODER_DISABLE_PASSWORD_AUTH=true ## SCIM -
- -SCIM is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> SCIM is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Coder supports user provisioning and deprovisioning via SCIM 2.0 with header authentication. Upon deactivation, users are diff --git a/docs/contributing/frontend.md b/docs/contributing/frontend.md index fd9d7ff0a64fe..299b1a45ae4f9 100644 --- a/docs/contributing/frontend.md +++ b/docs/contributing/frontend.md @@ -23,11 +23,8 @@ You can run the UI and access the Coder dashboard in two ways: In both cases, you can access the dashboard on `http://localhost:8080`. If using `./scripts/develop.sh` you can log in with the default credentials. -
- -**Default Credentials:** `admin@coder.com` and `SomeSecurePassword!`. - -+> [!NOTE] +> **Default Credentials:** `admin@coder.com` and `SomeSecurePassword!`. ## Tech Stack Overview diff --git a/docs/install/cli.md b/docs/install/cli.md index ed20d216a88fb..e22c07d55a025 100644 --- a/docs/install/cli.md +++ b/docs/install/cli.md @@ -58,11 +58,8 @@ coder login https://coder.example.com ## Download the CLI from your deployment -
- -Available in Coder 2.19 and newer. - -+> [!NOTE] +> Available in Coder 2.19 and newer. Every Coder server hosts CLI binaries for all supported platforms. You can run a script to download the appropriate CLI for your machine from your Coder diff --git a/docs/install/docker.md b/docs/install/docker.md index d1b2c2c109905..042d28e25e5a5 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -79,11 +79,8 @@ Coder's [configuration options](../admin/setup/index.md). ## Install the preview release -
- -We do not recommend using preview releases in production environments. - -+> [!TIP] +> We do not recommend using preview releases in production environments. You can install and test a [preview release of Coder](https://github.com/coder/coder/pkgs/container/coder-preview) diff --git a/docs/install/upgrade.md b/docs/install/upgrade.md index d9b72f9295dc2..de10681adb4d9 100644 --- a/docs/install/upgrade.md +++ b/docs/install/upgrade.md @@ -2,12 +2,9 @@ This article walks you through how to upgrade your Coder server. -
-+> [!CAUTION] +> Prior to upgrading a production Coder deployment, take a database snapshot since +> Coder does not support rollbacks. To upgrade your Coder server, simply reinstall Coder using your original method of [install](../install). diff --git a/docs/user-guides/workspace-access/zed.md b/docs/user-guides/workspace-access/zed.md index 2bcb4f12a2209..d2d507363c7c1 100644 --- a/docs/user-guides/workspace-access/zed.md +++ b/docs/user-guides/workspace-access/zed.md @@ -66,10 +66,7 @@ Use the Coder CLI to log in and configure SSH, then connect to your workspace wi  -- Prior to upgrading a production Coder deployment, take a database snapshot since - Coder does not support rollbacks. -
-
- -If you have any suggestions or experience any issues, please -[create a GitHub issue](https://github.com/coder/coder/issues) or share in -[our Discord channel](https://discord.gg/coder). - -+> [!NOTE] +> If you have any suggestions or experience any issues, please +> [create a GitHub issue](https://github.com/coder/coder/issues) or share in +> [our Discord channel](https://discord.gg/coder). diff --git a/docs/user-guides/workspace-management.md b/docs/user-guides/workspace-management.md index c613661747187..c0a116207af9c 100644 --- a/docs/user-guides/workspace-management.md +++ b/docs/user-guides/workspace-management.md @@ -90,12 +90,9 @@ manually updated the workspace. ## Bulk operations -
- -Bulk operations are an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Bulk operations are an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Licensed admins may apply bulk operations (update, delete, start, stop) in the **Workspaces** tab. Select the workspaces you'd like to modify with the diff --git a/docs/user-guides/workspace-scheduling.md b/docs/user-guides/workspace-scheduling.md index 44f79519af236..bf20a10a1e8c6 100644 --- a/docs/user-guides/workspace-scheduling.md +++ b/docs/user-guides/workspace-scheduling.md @@ -51,12 +51,9 @@ for your workspace. ## Autostop requirement -
- -Autostop requirement is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Autostop requirement is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Licensed template admins may enforce a required stop for workspaces to apply updates or undergo maintenance. These stops ignore any active connections or @@ -70,12 +67,9 @@ and specified quiet hours (see below). ### User quiet hours -
- -User quiet hours are an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> User quiet hours are an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). User quiet hours can be configured in the user's schedule settings page. Workspaces on templates with an autostop requirement will only be forcibly @@ -115,12 +109,9 @@ hours of inactivity. ## Dormancy -
- -Dormancy is an Enterprise and Premium feature. -[Learn more](https://coder.com/pricing#compare-plans). - -+> [!NOTE] +> Dormancy is an Enterprise and Premium feature. +> [Learn more](https://coder.com/pricing#compare-plans). Dormancy automatically deletes workspaces which remain unused for long durations. Template admins configure an inactivity period after which your From ced07b414c22ecb4aa4499e638be5595a4c9424e Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:47:12 +0000 Subject: [PATCH 05/14] blockquote indentation --- docs/admin/integrations/jfrog-xray.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/admin/integrations/jfrog-xray.md b/docs/admin/integrations/jfrog-xray.md index 762d86eb5b4f2..9d84057f0c859 100644 --- a/docs/admin/integrations/jfrog-xray.md +++ b/docs/admin/integrations/jfrog-xray.md @@ -56,11 +56,11 @@ workspaces using Coder's [JFrog Xray Integration](https://github.com/coder/coder --set artifactory.secretName="jfrog-token" ``` - > [!IMPORTANT] - > To authenticate with the Artifactory registry, you may need to - > create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the - > `imagePullSecrets` field of the Kubernetes Pod. - > See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more information. + > [!IMPORTANT] + > To authenticate with the Artifactory registry, you may need to + > create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the + > `imagePullSecrets` field of the Kubernetes Pod. + > See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more information. ## Validate your installation From 1eaeab89ad02009d64396a5a8dc11add46d9da46 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:49:14 +0000 Subject: [PATCH 06/14] test premium badge in external-auth --- docs/admin/external-auth.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/admin/external-auth.md b/docs/admin/external-auth.md index 1da8db9fdfef1..c50d74fd7e3ee 100644 --- a/docs/admin/external-auth.md +++ b/docs/admin/external-auth.md @@ -219,11 +219,7 @@ CODER_EXTERNAL_AUTH_0_SCOPES="repo:read repo:write write:gpg_key"  -## Multiple External Providers - -> [!NOTE] -> Multiple providers is an Enterprise and Premium feature. -> [Learn more](https://coder.com/pricing#compare-plans). +## Multiple External Providers (Enterprise)(Premium) Below is an example configuration with multiple providers: From 48cf62b8bbb17bc7ad8f066a6d040d7df9a7c145 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:49:57 +0000 Subject: [PATCH 07/14] alert spacing --- docs/admin/integrations/jfrog-xray.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/admin/integrations/jfrog-xray.md b/docs/admin/integrations/jfrog-xray.md index 9d84057f0c859..8ed263c1c32cd 100644 --- a/docs/admin/integrations/jfrog-xray.md +++ b/docs/admin/integrations/jfrog-xray.md @@ -56,11 +56,11 @@ workspaces using Coder's [JFrog Xray Integration](https://github.com/coder/coder --set artifactory.secretName="jfrog-token" ``` - > [!IMPORTANT] - > To authenticate with the Artifactory registry, you may need to - > create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the - > `imagePullSecrets` field of the Kubernetes Pod. - > See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more information. + > [!IMPORTANT] + > To authenticate with the Artifactory registry, you may need to + > create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the + > `imagePullSecrets` field of the Kubernetes Pod. + > See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more information. ## Validate your installation From ca70325da6f1cdeb86c0d3cb1b0e3e1e116bd7f8 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 19:54:33 +0000 Subject: [PATCH 08/14] un-nest alert from OL --- docs/admin/integrations/jfrog-xray.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/admin/integrations/jfrog-xray.md b/docs/admin/integrations/jfrog-xray.md index 8ed263c1c32cd..e5e163559a381 100644 --- a/docs/admin/integrations/jfrog-xray.md +++ b/docs/admin/integrations/jfrog-xray.md @@ -56,11 +56,11 @@ workspaces using Coder's [JFrog Xray Integration](https://github.com/coder/coder --set artifactory.secretName="jfrog-token" ``` - > [!IMPORTANT] - > To authenticate with the Artifactory registry, you may need to - > create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the - > `imagePullSecrets` field of the Kubernetes Pod. - > See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more information. +> [!IMPORTANT] +> To authenticate with the Artifactory registry, you may need to +> create a [Docker config](https://jfrog.com/help/r/jfrog-artifactory-documentation/docker-advanced-topics) and use it in the +> `imagePullSecrets` field of the Kubernetes Pod. +> See the [Defining ImagePullSecrets for Coder workspaces](../../tutorials/image-pull-secret.md) guide for more information. ## Validate your installation From 0dab25c5013ad0ca45e39617945ae55421e32538 Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 7 Mar 2025 20:24:26 +0000 Subject: [PATCH 09/14] more > Note --- docs/CONTRIBUTING.md | 3 ++- docs/admin/external-auth.md | 6 +++-- docs/admin/infrastructure/scale-utility.md | 3 ++- docs/admin/monitoring/logs.md | 3 ++- docs/admin/networking/index.md | 6 +++-- docs/admin/networking/stun.md | 21 ++++++++-------- docs/admin/provisioners.md | 3 ++- docs/admin/security/database-encryption.md | 12 ++++++--- docs/admin/security/secrets.md | 3 ++- docs/admin/setup/index.md | 3 ++- .../templates/extending-templates/index.md | 4 +-- .../extending-templates/process-logging.md | 9 ++++--- .../extending-templates/workspace-tags.md | 3 ++- .../managing-templates/dependencies.md | 3 ++- .../managing-templates/image-management.md | 6 ++--- docs/admin/templates/open-in-coder.md | 3 ++- docs/admin/templates/troubleshooting.md | 6 +++-- docs/admin/users/github-auth.md | 25 ++++++++++--------- docs/admin/users/idp-sync.md | 3 ++- docs/admin/users/oidc-auth.md | 12 ++++++--- docs/admin/users/organizations.md | 3 ++- docs/admin/users/password-auth.md | 3 ++- docs/install/offline.md | 3 ++- docs/install/openshift.md | 12 ++++++--- docs/tutorials/gcp-to-aws.md | 3 ++- docs/tutorials/support-bundle.md | 9 ++++--- docs/user-guides/desktop/index.md | 3 ++- .../user-guides/workspace-access/jetbrains.md | 6 ++--- .../workspace-access/remote-desktops.md | 4 +-- docs/user-guides/workspace-access/vscode.md | 3 ++- docs/user-guides/workspace-management.md | 3 ++- docs/user-guides/workspace-scheduling.md | 9 ++++--- 32 files changed, 120 insertions(+), 78 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 4ec303b388d49..2b9b029e1ebc3 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -142,7 +142,8 @@ this: name and PR number, etc. - `-y` or `--yes`, will skip the CLI confirmation prompt. -> Note: PR deployment will be re-deployed automatically when the PR is updated. +> [!NOTE] +> PR deployment will be re-deployed automatically when the PR is updated. > It will use the last values automatically for redeployment. Once the deployment is finished, a unique link and credentials will be posted in diff --git a/docs/admin/external-auth.md b/docs/admin/external-auth.md index c50d74fd7e3ee..1fbc2b600a430 100644 --- a/docs/admin/external-auth.md +++ b/docs/admin/external-auth.md @@ -90,7 +90,8 @@ CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxxxxxx CODER_EXTERNAL_AUTH_0_AUTH_URL="https://login.microsoftonline.com/