Skip to content

Commit d22480e

Browse files
committed
Bump v1.0.2
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
1 parent 3cc741d commit d22480e

File tree

4 files changed

+11
-23
lines changed

4 files changed

+11
-23
lines changed
Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
1. Get the application URL by running these commands:
2-
{{- if .Values.codeServer.ingress.enabled }}
3-
{{- range $host := .Values.codeServer.ingress.hosts }}
4-
{{- range .paths }}
5-
http://{{ $host.host }}/code-editor/route_name/?folder=/git/code-editor
1+
{{- if .Values.console.enabled }}
2+
1. Code Editor console is available here:
3+
{{- if .Values.dev }}
4+
http://{{ .Values.domain }}/code-editor/console
5+
{{- else }}
6+
https://{{ .Values.domain }}/code-editor/console
67
{{- end }}
78
{{- end }}
8-
{{- else if contains "NodePort" .Values.codeServer.service.type }}
9-
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "code-editor.fullname" . }})
10-
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
11-
echo http://$NODE_IP:$NODE_PORT
12-
{{- else if contains "LoadBalancer" .Values.codeServer.service.type }}
13-
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
14-
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "code-editor.fullname" . }}'
15-
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "code-editor.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
16-
echo http://$SERVICE_IP:{{ .Values.codeServer.service.port }}
17-
{{- else if contains "ClusterIP" .Values.codeServer.service.type }}
18-
echo "Visit http://127.0.0.1:3000 to use your application"
19-
kubectl port-forward --namespace {{ .Release.Namespace }} service/{{ include "code-editor.fullname" . }} 3000:http
20-
{{- end }}

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: v1.0.1
225+
tag: v1.0.2
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: v1.0.1
242+
tag: v1.0.2
243243
pullPolicy: Always
244244
env:
245245
baseHref: "/code-editor/console/"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "v1.0.1",
3+
"version": "v1.0.2",
44
"description": "code-server deployed on kubernetes clusters, supporting multi-user and external authentication",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)