Customize the Open VSX server configuration

Customize the Open VSX server Spring Boot configuration by editing the Operator-managed ConfigMap. The Operator creates this ConfigMap once and does not overwrite subsequent changes, so modifications persist across Operator reconciliation cycles.

Before you begin

  • An active oc session with administrative permissions to the destination OpenShift cluster. See Getting started with the CLI.
  • The managed Open VSX registry is enabled and running.

About this task

Modifying the ConfigMap automatically triggers a rolling restart of the Open VSX server pod.

Procedure

Edit the openvsx-server ConfigMap:
$ oc edit configmap openvsx-server \
  --namespace openshift-devspaces

The ConfigMap contains a single application.yml key with the Open VSX Spring Boot configuration.

Results

  • Verify that the Open VSX server pod has restarted with the updated configuration:

    $ oc get pods --namespace openshift-devspaces -l app.kubernetes.io/component=openvsx-server