Skip to content

Commit

Permalink
v.0.27.11 - call scripts directly
Browse files Browse the repository at this point in the history
  • Loading branch information
zaychenko-sergei committed Jul 1, 2024
1 parent 9265f9b commit 5018c2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/kamu-api-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kamu-api-server
description: API server component of the Kamu Compute Node
type: application
version: 0.27.10
version: 0.27.11
appVersion: "0.27.1"
home: https://kamu.dev
icon: https://www.kamu.dev/images/kamu_logo_icon_bg_square.png
Expand Down
6 changes: 2 additions & 4 deletions charts/kamu-api-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ spec:
- "/bin/sh"
- "-c"
- |
/fetch-db-secret.sh {{ .Values.imageMigrations.databaseSecretName }} $AWS_REGION {{ .Values.imageMigrations.databaseHost }} {{ .Values.imageMigrations.databasePort }} {{ .Values.imageMigrations.databaseName }} &&
/run-db-migrations.sh {{ .Values.imageMigrations.migrationsPath }}
/bin/sh /fetch-db-secret.sh {{ .Values.imageMigrations.databaseSecretName }} $AWS_REGION {{ .Values.imageMigrations.databaseHost }} {{ .Values.imageMigrations.databasePort }} {{ .Values.imageMigrations.databaseName }} &&
/bin/sh /run-db-migrations.sh {{ .Values.imageMigrations.migrationsPath }}
env:
- name: RUST_BACKTRACE
value: "1"
Expand Down Expand Up @@ -147,14 +147,12 @@ spec:
- name: fetch-db-secret
configMap:
name: db-scripts
defaultMode: 0755
items:
- key: fetch-db-secret.sh
path: fetch-db-secret.sh
- name: run-db-migrations
configMap:
name: db-scripts
defaultMode: 0755
items:
- key: run-db-migrations.sh
path: run-db-migrations.sh
Expand Down

0 comments on commit 5018c2c

Please sign in to comment.