Skip to content

Commit 85db9d5

Browse files
authored
docs: update instructions how to add PAT for OpenVSX user (#3055)
Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
1 parent d0a5c00 commit 85db9d5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

modules/administration-guide/examples/snip_che-deploy-open-vsx-using-oc.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Get Open VSX sources and navigate to the OpenShift deploy directory:
2323
+
2424
[bash,subs="verbatim",options="nowrap"]
2525
----
26-
git clone https://github.com/eclipse/openvsx.git &&
26+
git clone https://github.com/eclipse-openvsx/openvsx &&
2727
cd openvsx/deploy/openshift
2828
----
2929
@@ -36,7 +36,7 @@ The next step is to build and publish the Open VSX server image. To do this, run
3636
export REGISTRY=quay.io &&
3737
export NAMESPACE=myuser &&
3838
export OPENVSX_SERVER_IMAGE_NAME=openvsx-server &&
39-
export OPENVSX_VERSION=v0.27.0 &&
39+
export OPENVSX_VERSION=v0.33.0 &&
4040
export OPENVSX_SERVER_IMAGE=${REGISTRY}/${NAMESPACE}/${OPENVSX_SERVER_IMAGE_NAME}:${OPENVSX_VERSION} &&
4141
podman build -t "${OPENVSX_SERVER_IMAGE}" --build-arg "OPENVSX_VERSION=${OPENVSX_VERSION}" -f openvsx.Dockerfile . &&
4242
podman login "${REGISTRY}" &&
@@ -111,7 +111,7 @@ Insert user PAT into OpenVSX database:
111111
[bash,subs="verbatim",options="nowrap"]
112112
----
113113
oc exec -n openvsx "$POSTGRESQL_POD_NAME" -- bash -c \
114-
"psql -d openvsx -c \"INSERT INTO personal_access_token (id, user_data, value, active, created_timestamp, accessed_timestamp, description) VALUES (1001, 1001, 'eclipse_che_token', true, current_timestamp, current_timestamp, 'extensions publisher');\""
114+
"psql -d openvsx -c \"INSERT INTO personal_access_token (id, user_data, value, active, created_timestamp, accessed_timestamp, description, notified) VALUES (1001, 1001, 'eclipse_che_token', true, current_timestamp, current_timestamp, 'extensions publisher', false);\""
115115
----
116116
117117
. Configure {prod-short} to use the internal Open VSX.

modules/administration-guide/partials/proc_deleting-extension-using-openvsx-admin-api.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Add the administrator PAT:
3333
[source,bash,options="nowrap"]
3434
----
3535
oc exec -n openvsx "$POSTGRESQL_POD_NAME" -- bash -c \
36-
"psql -d openvsx -c \"INSERT INTO personal_access_token (id, user_data, value, active, created_timestamp, accessed_timestamp, description) VALUES (1002, 1002, 'openvsx_admin_token', true, current_timestamp, current_timestamp, 'Admin API Token');\""
36+
"psql -d openvsx -c \"INSERT INTO personal_access_token (id, user_data, value, active, created_timestamp, accessed_timestamp, description, notified) VALUES (1002, 1002, 'openvsx_admin_token', true, current_timestamp, current_timestamp, 'Admin API Token', false);\""
3737
----
3838
+
3939
[NOTE]

0 commit comments

Comments
 (0)