Skip to content

Commit

Permalink
Bump v1.0.2
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Torchia <[email protected]>
  • Loading branch information
torchiaf committed May 26, 2024
1 parent 3cc741d commit d22480e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 23 deletions.
24 changes: 6 additions & 18 deletions helm-charts/code-editor/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
1. Get the application URL by running these commands:
{{- if .Values.codeServer.ingress.enabled }}
{{- range $host := .Values.codeServer.ingress.hosts }}
{{- range .paths }}
http://{{ $host.host }}/code-editor/route_name/?folder=/git/code-editor
{{- if .Values.console.enabled }}
1. Code Editor console is available here:
{{- if .Values.dev }}
http://{{ .Values.domain }}/code-editor/console
{{- else }}
https://{{ .Values.domain }}/code-editor/console
{{- end }}
{{- end }}
{{- else if contains "NodePort" .Values.codeServer.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "code-editor.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.codeServer.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "code-editor.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "code-editor.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.codeServer.service.port }}
{{- else if contains "ClusterIP" .Values.codeServer.service.type }}
echo "Visit http://127.0.0.1:3000 to use your application"
kubectl port-forward --namespace {{ .Release.Namespace }} service/{{ include "code-editor.fullname" . }} 3000:http
{{- end }}
4 changes: 2 additions & 2 deletions helm-charts/code-editor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ server:
tokenExpiration: 24
image:
repository: ghcr.io/torchiaf/code-editor/server
tag: v1.0.1
tag: v1.0.2
pullPolicy: Always
ports:
- port: 8082
Expand All @@ -239,7 +239,7 @@ console:
type: ClusterIP
image:
repository: ghcr.io/torchiaf/code-editor/console
tag: v1.0.1
tag: v1.0.2
pullPolicy: Always
env:
baseHref: "/code-editor/console/"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "code-editor",
"version": "v1.0.1",
"version": "v1.0.2",
"description": "code-server deployed on kubernetes clusters, supporting multi-user and external authentication",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d22480e

Please sign in to comment.