From e5f5f0664265144ed0718a95f391b89f1f6e97f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Tue, 25 Jul 2023 12:28:29 +0200 Subject: [PATCH] fix --- apps/code-server/deploy.tf | 4 -- apps/code-server/index.yaml | 92 ++++++++++++++++++------------------- 2 files changed, 46 insertions(+), 50 deletions(-) diff --git a/apps/code-server/deploy.tf b/apps/code-server/deploy.tf index 02dc138..a64474f 100644 --- a/apps/code-server/deploy.tf +++ b/apps/code-server/deploy.tf @@ -81,8 +81,6 @@ resource "kubectl_manifest" "deploy" { subPath: autostart.sh - name: home mountPath: /home/coder - - name: podman-overlay - mountPath: /home/coder/.local/share/containers/storage/overlay/ - name: run mountPath: /run restartPolicy: Always @@ -113,7 +111,5 @@ resource "kubectl_manifest" "deploy" { claimName: "${var.component}-${var.instance}" - name: run emptyDir: {} - - name: podman-overlay - emptyDir: {} EOF } diff --git a/apps/code-server/index.yaml b/apps/code-server/index.yaml index 6a43fd2..1767747 100644 --- a/apps/code-server/index.yaml +++ b/apps/code-server/index.yaml @@ -6,25 +6,20 @@ metadata: name: code-server description: null options: - ingress-class: - default: traefik + sub-domain: + default: code examples: - - traefik + - code type: string issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string - timezone: - default: Europe/Paris + domain-name: + default: your_company.com examples: - - Europe/Paris - type: string - domain: - default: your-company - examples: - - your-company + - your_company.com type: string admin: default: @@ -41,10 +36,47 @@ options: default: false type: boolean type: object - domain-name: - default: your_company.com + storage: + default: + accessMode: ReadWriteOnce + size: 20Gi + type: Filesystem examples: - - your_company.com + - accessMode: ReadWriteOnce + size: 20Gi + type: Filesystem + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 20Gi + type: string + type: + default: Filesystem + enum: + - Filesystem + - block + type: string + type: object + timezone: + default: Europe/Paris + examples: + - Europe/Paris + type: string + domain: + default: your-company + examples: + - your-company + type: string + ingress-class: + default: traefik + examples: + - traefik type: string images: default: @@ -85,38 +117,6 @@ options: type: number type: object type: object - sub-domain: - default: code - examples: - - code - type: string - storage: - default: - accessMode: ReadWriteOnce - size: 20Gi - type: Filesystem - examples: - - accessMode: ReadWriteOnce - size: 20Gi - type: Filesystem - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 20Gi - type: string - type: - default: Filesystem - enum: - - Filesystem - - block - type: string - type: object dependencies: - dist: null category: share