Procedures/managed openvsx registry - #3170
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
|
🎊 Navigate the preview: https://6a63882c0f322e41f342e6a3--eclipse-che-docs-pr.netlify.app 🎊 |
Add procedure for deleting extensions from the managed Open VSX registry using the admin API. Fix verification pod labels to use app.kubernetes.io/component instead of app=openvsx. Add NOTE about the registry starting empty. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| {prod-short} supports three registry configurations: | ||
| {prod-short} supports four registry configurations: | ||
|
|
||
| Embedded Open VSX registry:: Runs in the `plugin-registry` pod and supports air-gapped, offline, and proxy-restricted environments. Contains a default subset of extensions that you can customize. |
There was a problem hiding this comment.
should we have an ordered list here 1 - 4 ?
|
|
||
| Embedded Open VSX registry:: Runs in the `plugin-registry` pod and supports air-gapped, offline, and proxy-restricted environments. Contains a default subset of extensions that you can customize. | ||
|
|
||
| Public Open VSX registry:: The community-hosted registry at `open-vsx.org`, accessed over the internet. Provides the full catalog of openly published extensions. |
There was a problem hiding this comment.
Also, we might want to highlight option 5: https://managed.open-vsx.org/pricing/
manged openvsx
| :page-aliases: | ||
|
|
||
| [id="enabling-the-managed-open-vsx-registry"] | ||
| = Enabling the managed Open VSX registry |
There was a problem hiding this comment.
let's clarify that this is tech-preview
There was a problem hiding this comment.
JTBD mapping
This content maps to Extend > Customize workspace tooling (extend_tooling), specifically Job 34: Control which editors developers can use. It belongs under assembly_deploying-private-registry (Deploy a private extension registry) alongside the existing self-hosted Open VSX procedures.
Merge sequencing recommendation
Option A (preferred): Merge PR #3143 (Extend JTBD restructuring) first, then rebase this PR to place the new file directly in the Extend module (modules/extend/). This avoids the file being added to administration-guide/ and then immediately moved.
Option B (acceptable): Merge this PR first if the feature needs docs before #3143 is ready. The person rebasing #3143 will need to:
- Move
enabling-the-managed-open-vsx-registry.adocfromadministration-guide/pages/toextend/pages/ - Add the
xref:toextend/nav.adoc(and remove it fromadministration-guide/nav.adoc) - Resolve 2-3 small merge conflicts in
managing-ide-extensions.adocandextensions-for-microsoft-visual-studio-code-open-source.adoc
This is roughly 15 minutes of rebase work, so not a blocker.
| :page-aliases: | ||
|
|
||
| [id="enabling-the-managed-open-vsx-registry"] | ||
| = Enabling the managed Open VSX registry |
There was a problem hiding this comment.
Title: gerund to imperative
Per CQA 2.1 and JTBD title rules, procedure titles must use imperative verbs, not gerunds.
| = Enabling the managed Open VSX registry | |
| = Enable the managed Open VSX registry |
This also fixes the navtitle/title mismatch. The :navtitle: already says "Enable..." (correct), but the = Title says "Enabling..." (gerund). These must match.
| :description: Enable the Operator-managed Open VSX registry to deploy a dedicated Open VSX server and PostgreSQL database as {prod} operands | ||
| :keywords: administration guide, openvsx, registry, extensions, managed, operator | ||
| :navtitle: Enable the managed Open VSX registry | ||
| :page-aliases: |
There was a problem hiding this comment.
Empty :page-aliases: attribute with no value. Since this is a new page with no previous URL to redirect, remove this line entirely.
| :page-aliases: |
| = Enabling the managed Open VSX registry | ||
|
|
||
| [role="_abstract"] | ||
| Enable {prod-short} to deploy and manage a dedicated Open VSX server with a PostgreSQL database as Operator-managed components. The managed registry is exposed through the {prod-short} gateway and provides a private, curated extension registry without requiring manual deployment or database administration. |
There was a problem hiding this comment.
Missing Technology Preview admonition
Per @ibuziuk comment and Red Hat SSG rules, add a Technology Preview disclaimer immediately after the abstract:
[IMPORTANT]
====
The managed Open VSX registry is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information about the support scope of Red Hat Technology Preview features, see https://access.redhat.com/support/offerings/techpreview/.
====Always spell out "Technology Preview" in full. Never abbreviate to "Tech Preview" or "Technical Preview."
gtrivedi88
left a comment
There was a problem hiding this comment.
Re-posting misplaced inline comments at the correct lines. Apologies for the earlier confusion.
| * Open a workspace and verify that extensions from the managed registry are available in the *Extensions* view. | ||
|
|
||
| [id="configuring-custom-credentials-for-the-managed-open-vsx-registry"] | ||
| == Configuring custom credentials for the managed Open VSX registry |
There was a problem hiding this comment.
Gerund title. Use imperative.
| == Configuring custom credentials for the managed Open VSX registry | |
| == Configure custom credentials for the managed Open VSX registry |
|
|
||
| By default, the Operator generates an `openvsx-credentials` secret with random passwords and access tokens. To use custom database credentials and Open VSX user accounts, create a secret and reference it in the `CheCluster` custom resource. | ||
|
|
||
| .Procedure |
There was a problem hiding this comment.
Missing .Prerequisites
This procedure jumps straight to .Procedure without .Prerequisites. Add:
.Prerequisites
* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}.
* The managed Open VSX registry is enabled and running.| } | ||
| }' | ||
| ---- | ||
|
|
There was a problem hiding this comment.
Missing .Verification
The "Configure custom credentials" procedure ends without a .Verification section. Add a verification step so the reader can confirm the credentials were applied, for example:
.Verification
* Verify that the Open VSX server pod restarts and reaches `Running` status:
+
[source,shell,subs="+quotes,+attributes,+macros"]
----
{orch-cli} get pods --namespace {prod-namespace} -l app.kubernetes.io/component=openvsx-server
----| }' | ||
| ---- | ||
|
|
||
| IMPORTANT: The secret must exist before it is referenced in the `CheCluster` custom resource. The Operator validates the secret on create and update and rejects the change if the secret is missing or incomplete. |
There was a problem hiding this comment.
Inline admonition must be block-delimited
Inline IMPORTANT: is not DITA-compatible. Use a block-delimited admonition:
| IMPORTANT: The secret must exist before it is referenced in the `CheCluster` custom resource. The Operator validates the secret on create and update and rejects the change if the secret is missing or incomplete. | |
| [IMPORTANT] | |
| ==== | |
| The secret must exist before it is referenced in the `CheCluster` custom resource. The Operator validates the secret on create and update and rejects the change if the secret is missing or incomplete. | |
| ==== |
| IMPORTANT: The secret must exist before it is referenced in the `CheCluster` custom resource. The Operator validates the secret on create and update and rejects the change if the secret is missing or incomplete. | ||
|
|
||
| [id="customizing-the-open-vsx-server-configuration"] | ||
| == Customizing the Open VSX server configuration |
There was a problem hiding this comment.
Gerund title. Use imperative.
| == Customizing the Open VSX server configuration | |
| == Customize the Open VSX server configuration |
|
|
||
| The Operator creates an `openvsx-server` `ConfigMap` with a default `application.yml` configuration when the managed registry is first enabled. This `ConfigMap` is user-editable: the Operator creates it once and does not overwrite subsequent changes. Modifying the `ConfigMap` automatically triggers a rolling restart of the Open VSX server pod. | ||
|
|
||
| .Procedure |
There was a problem hiding this comment.
Missing .Prerequisites
This procedure jumps straight to .Procedure without .Prerequisites. Add:
.Prerequisites
* An active `{orch-cli}` session with administrative permissions to the destination {orch-name} cluster. See {orch-cli-link}.
* The managed Open VSX registry is enabled and running.| The `ConfigMap` contains a single `application.yml` key with the Open VSX Spring Boot configuration. | ||
|
|
||
| [id="deleting-extensions-from-the-managed-open-vsx-registry"] | ||
| == Deleting extensions from the managed Open VSX registry |
There was a problem hiding this comment.
Gerund title. Use imperative.
| == Deleting extensions from the managed Open VSX registry | |
| == Delete extensions from the managed Open VSX registry |
| where `__<extension_version>__` is the version to delete. For example: `1.2.3`. | ||
|
|
||
| [id="disabling-the-managed-open-vsx-registry"] | ||
| == Disabling the managed Open VSX registry |
There was a problem hiding this comment.
Gerund title. Use imperative.
| == Disabling the managed Open VSX registry | |
| == Disable the managed Open VSX registry |
What does this pull request change?
Provides documentation how to enable OpenVSX as a operand
What issues does this pull request fix or reference?
https://redhat.atlassian.net/browse/CRW-11147
Specify the version of the product this pull request applies to
7.121.0
Pull Request checklist
The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.
Validate language on files added or modifiedstep reports no vale warnings.