From 94dc0cb8ea0a2a9563d6381a319bcd8654a2e5b8 Mon Sep 17 00:00:00 2001 From: Roman Boiko Date: Tue, 23 Jul 2024 13:05:32 +0200 Subject: [PATCH] Upgrade demo env version (#42) --- charts/kamu-api-server/Chart.yaml | 2 +- charts/kamu-api-server/templates/deployment.yaml | 2 ++ charts/kamu-api-server/values.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/kamu-api-server/Chart.yaml b/charts/kamu-api-server/Chart.yaml index ed97229..73458c8 100644 --- a/charts/kamu-api-server/Chart.yaml +++ b/charts/kamu-api-server/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kamu-api-server description: API server component of the Kamu Compute Node type: application -version: 0.28.2 +version: 0.28.3 appVersion: "0.28.2" home: https://kamu.dev icon: https://www.kamu.dev/images/kamu_logo_icon_bg_square.png diff --git a/charts/kamu-api-server/templates/deployment.yaml b/charts/kamu-api-server/templates/deployment.yaml index 3b7f12c..7738655 100644 --- a/charts/kamu-api-server/templates/deployment.yaml +++ b/charts/kamu-api-server/templates/deployment.yaml @@ -29,6 +29,7 @@ spec: serviceAccountName: {{ include "kamu-api-server.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- if .Values.enableDatabase }} initContainers: - name: database-migrations image: "{{ .Values.imageMigrations.repository }}:{{ .Values.imageMigrations.tag }}" @@ -69,6 +70,7 @@ spec: {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} + {{- end }} containers: - name: {{ .Chart.Name }} securityContext: diff --git a/charts/kamu-api-server/values.yaml b/charts/kamu-api-server/values.yaml index 7b0ead6..b53ec78 100644 --- a/charts/kamu-api-server/values.yaml +++ b/charts/kamu-api-server/values.yaml @@ -49,6 +49,7 @@ imageMigrations: imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +enableDatabase: false serviceAccount: # Specifies whether a service account should be created