From 7fac3855e0b958a277f4ba400d0a5e01daf42605 Mon Sep 17 00:00:00 2001 From: "andreas.dinauer" Date: Fri, 7 Nov 2025 21:42:30 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=200.3.1=20Move=20DB=20to=20i?= =?UTF-8?q?nstance=20chart?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chart/Chart.yaml | 2 +- chart/templates/backend/deployment.yaml | 4 ++-- chart/templates/database/cluster.yaml | 23 ----------------------- chart/templates/database/database.yaml | 9 --------- chart/templates/frontend/deployment.yaml | 2 +- chart/templates/ingress.yaml | 2 +- 6 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 chart/templates/database/cluster.yaml delete mode 100644 chart/templates/database/database.yaml diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 864f677..61e075d 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,3 +1,3 @@ apiVersion: v2 name: kubooboo-chart -version: 0.3.0 \ No newline at end of file +version: 0.3.1 \ No newline at end of file diff --git a/chart/templates/backend/deployment.yaml b/chart/templates/backend/deployment.yaml index dcaee96..2137789 100644 --- a/chart/templates/backend/deployment.yaml +++ b/chart/templates/backend/deployment.yaml @@ -17,10 +17,10 @@ spec: volumes: - name: jwt secret: - secretName: {{ .Values.backend.jwt.secretName }} + secretName: {{ .Values.backend.jwt.secretName | required }} - name: kubeconfig secret: - secretName: {{ .Values.backend.kubeconfig.secretName }} + secretName: {{ .Values.backend.kubeconfig.secretName | required }} containers: - name: backend-pod image: harbor.dinauer.dev/kubooboo/backend:41 diff --git a/chart/templates/database/cluster.yaml b/chart/templates/database/cluster.yaml deleted file mode 100644 index 85569fa..0000000 --- a/chart/templates/database/cluster.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: postgresql.cnpg.io/v1 -kind: Cluster -metadata: - name: postgres -spec: - instances: 1 - storage: - storageClass: hcloud-volumes - size: 1Gi - resources: - requests: - memory: "256Mi" - cpu: "100m" - limits: - memory: "512Mi" - cpu: "500m" - managed: - roles: - - name: kubooboo - ensure: present - login: true - passwordSecret: - name: {{ .Values.database.password.secretName }} \ No newline at end of file diff --git a/chart/templates/database/database.yaml b/chart/templates/database/database.yaml deleted file mode 100644 index 7f5587f..0000000 --- a/chart/templates/database/database.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: postgresql.cnpg.io/v1 -kind: Database -metadata: - name: kubooboo -spec: - name: kubooboo - owner: kubooboo - cluster: - name: postgres \ No newline at end of file diff --git a/chart/templates/frontend/deployment.yaml b/chart/templates/frontend/deployment.yaml index b042faa..0d53e5e 100644 --- a/chart/templates/frontend/deployment.yaml +++ b/chart/templates/frontend/deployment.yaml @@ -31,4 +31,4 @@ spec: - name: NUXT_PUBLIC_API_WS_SCHEMA value: {{ .Values.url.wsSchema }} - name: NUXT_PUBLIC_API_HOST - value: {{ .Values.url.host }} \ No newline at end of file + value: {{ .Values.url.host | required }} \ No newline at end of file diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index 282ba2a..550829a 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -7,7 +7,7 @@ spec: tls: - hosts: - kubooboo.dinauer.dev - secretName: {{ .Values.ingress.tls.secretName }} + secretName: {{ .Values.ingress.tls.secretName | required }} rules: - host: kubooboo.dinauer.dev http: