From 1e4e553d359ad1104d3aa68b3380785cb1d4f893 Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Mon, 28 Oct 2024 01:40:30 +0100 Subject: [PATCH] add template for code server --- services/code-server/app.yaml | 38 +++++++++++++++++++++++++++++++ services/code-server/service.yaml | 8 +++++++ 2 files changed, 46 insertions(+) create mode 100644 services/code-server/app.yaml create mode 100644 services/code-server/service.yaml diff --git a/services/code-server/app.yaml b/services/code-server/app.yaml new file mode 100644 index 00000000..f2da7dab --- /dev/null +++ b/services/code-server/app.yaml @@ -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 \ No newline at end of file diff --git a/services/code-server/service.yaml b/services/code-server/service.yaml new file mode 100644 index 00000000..85683ff8 --- /dev/null +++ b/services/code-server/service.yaml @@ -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 \ No newline at end of file