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: