Skip to content

Commit

Permalink
add template for code server
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Oct 28, 2024
1 parent 6e10bbf commit 1e4e553
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
38 changes: 38 additions & 0 deletions services/code-server/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: application.kubero.dev/v1alpha1
kind: KuberoApp
metadata:
name: code-server
labels:
manager: kubero
spec:
name: code-server
deploymentstrategy: docker
envVars:
- name: TZ
value: Etc/UTC
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: PASSWORD
value: secret
extraVolumes:
- accessMode: ReadWriteOnce
accessModes:
- ReadWriteOnce
emptyDir: false
mountPath: /config
name: code-server-config
size: 1Gi
storageClass: standard
cronjobs: []
addons: []
web:
replicaCount: 1
worker:
replicaCount: 0
image:
containerPort: 8080
pullPolicy: Always
repository: lscr.io/linuxserver/code-server
tag: latest
8 changes: 8 additions & 0 deletions services/code-server/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: VS Code - Code Server
description: 'Run VS Code on any machine anywhere and access it in the browser.'
tags:
- development
source: https://github.com/coder/code-server
website: https://coder.com
screenshots:
- https://github.com/coder/code-server/raw/main/docs/assets/screenshot-1.png

0 comments on commit 1e4e553

Please sign in to comment.