From 3ab5c75aeef05b76c72489055e8ecff04fd282ee Mon Sep 17 00:00:00 2001 From: Andy Chosak Date: Mon, 25 Nov 2024 16:25:02 -0500 Subject: [PATCH] Fixup initContainer to run migrations --- helm/values.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/helm/values.yaml b/helm/values.yaml index adf4b8f..48d2b47 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -7,13 +7,9 @@ initContainers: pullPolicy: IfNotPresent tag: "latest" port: 8000 - env: - - name: DJANGO_SETTINGS_MODULE - value: "django_application.settings.helm_eks" commands: ["sh", "-c"] args: - - | - python friendly-umbrella/manage.py makemigrations && python friendly-umbrella/manage.py migrate + - python manage.py migrate containers: - name: friendly-umbrella @@ -22,9 +18,6 @@ containers: pullPolicy: IfNotPresent tag: "latest" port: 8000 - env: - - name: DJANGO_SETTINGS_MODULE - value: "django_application.settings.helm_eks" image: repository: friendly-umbrella