Skip to content

Commit

Permalink
Improve editor handling
Browse files Browse the repository at this point in the history
- rename charts directory
- create editor instance at runtime
- remove users list
- adapt package.json tasks
- server refactoring

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
  • Loading branch information
torchiaf committed Dec 28, 2023
1 parent 59988cf commit 4aa48d4
Show file tree
Hide file tree
Showing 47 changed files with 976 additions and 765 deletions.
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# dev
out.yaml

# keys and certs
tls.key
tls.crt
ssh.key

# node
node_modules

# helm
users.yaml
helm-charts/code-editor/assets

# keys
*.cert
*.key
22 changes: 0 additions & 22 deletions charts/code-editor/templates/configmaps.yaml

This file was deleted.

259 changes: 0 additions & 259 deletions charts/code-editor/templates/deployment.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions charts/code-editor/templates/secrets.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions charts/code-editor/templates/service.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ metadata:
name: server
rules:
- apiGroups: ["", "apps"]
resources: ["pods","pods/exec","services","namespaces","deployments","deployments/scale","jobs"]
resources: ["pods","pods/exec","services","namespaces","deployments","deployments/scale","jobs","secrets"]
verbs: ["get", "update", "create", "watch", "list"]
- apiGroups: ["traefik.containo.us"]
resources: ["ingressroutes"]
verbs: ["get", "update", "create", "watch", "list"]
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
Loading

0 comments on commit 4aa48d4

Please sign in to comment.