Skip to content

Commit ee59fbf

Browse files
committed
Update docs; Bump v1.0.0
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
1 parent b2afeab commit ee59fbf

File tree

5 files changed

+23
-14
lines changed

5 files changed

+23
-14
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,8 @@ code-editor is an open source application to deploy [code-server](https://github
4040
{
4141
"viewId": "0001",
4242
"code-server-session": code-server instance token to use in the browser,
43-
"path": path for the code-server instance
44-
}
45-
```
46-
- Add `code-server` configs:
47-
```
48-
PUT https://localhost/code-editor/api/v1/views/0001
49-
50-
response:
51-
{
52-
"query-param": path to a cloned repo
43+
"path": path of the code-server instance UI,
44+
"query-param": path to the cloned repo provisioned in the code-server instance
5345
}
5446
```
5547

docs/openapi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,13 +438,16 @@ components:
438438
- code-server-session
439439
- path
440440
- viewId
441+
- query-param
441442
properties:
442443
code-server-session:
443444
type: string
444445
path:
445446
type: string
446447
viewId:
447448
type: string
449+
query-param:
450+
type: string
448451
ViewConfigResponse:
449452
allOf:
450453
- $ref: '#/components/schemas/MessageResponse'
@@ -527,6 +530,20 @@ components:
527530
sshKey:
528531
type: string
529532
description: SSH key for git authentication
533+
gitSource:
534+
type: object
535+
description: Git Repository configurations
536+
properties:
537+
type:
538+
type: string
539+
org:
540+
type: string
541+
repo:
542+
type: string
543+
branch:
544+
type: string
545+
commit:
546+
type: string
530547
ViewConfigRequestBody:
531548
type: object
532549
required:

helm-charts/code-editor/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ server:
222222
tokenExpiration: 24
223223
image:
224224
repository: ghcr.io/torchiaf/code-editor/server
225-
tag: v0.1.3
225+
tag: v1.0.0
226226
pullPolicy: Always
227227
ports:
228228
- port: 8082
@@ -239,7 +239,7 @@ console:
239239
type: ClusterIP
240240
image:
241241
repository: ghcr.io/torchiaf/code-editor/console
242-
tag: v0.1.3
242+
tag: v1.0.0
243243
pullPolicy: Always
244244
env:
245245
baseHref: "/code-editor/console/"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "code-editor",
3-
"version": "v0.1.3",
3+
"version": "v1.0.0",
44
"description": "code-server deployed on kubernetes clusters, supporting multi-user and external authentication",
55
"main": "index.js",
66
"scripts": {

postman_collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
],
281281
"body": {
282282
"mode": "raw",
283-
"raw": "{\n \"name\": \"View test\",\n \"git\": {\n \"name\": \"Francesco Torchia\",\n \"email\": \"torchia.francesco@gmail.com\"\n },\n \"extensions\": [\n {\n \"id\": \"hoovercj.vscode-power-mode\",\n \"settings\": {\n \"powermode.enabled\": true\n }\n }\n \n ],\n \"vscode-settings\": {},\n \"sshKey\": \"\"\n}",
283+
"raw": "{\n \"name\": \"View test\",\n \"git\": {\n \"name\": \"Francesco Torchia\",\n \"email\": \"torchia.francesco@gmail.com\"\n },\n \"extensions\": [\n {\n \"id\": \"hoovercj.vscode-power-mode\",\n \"settings\": {\n \"powermode.enabled\": true\n }\n }\n \n ],\n \"vscode-settings\": {},\n \"sshKey\": \"\",\n \"gitSource\": {\n \"org\": \"torchiaf\",\n \"repo\": \"code-editor\",\n \"branch\": \"main\"\n }\n}",
284284
"options": {
285285
"raw": {
286286
"language": "json"

0 commit comments

Comments
 (0)