diff options
author | 2024-06-07 21:05:22 +0100 | |
---|---|---|
committer | 2024-06-07 21:05:22 +0100 | |
commit | 549a559cb935c5337622cc7cdcf3d0d173c93b41 (patch) | |
tree | aaa1e7ccaafd8b025394771d1204cebb91a4e14f | |
parent | Update site to run migrations in an init container (diff) |
Remove unnecessary shell execution for migration initContainer
-rw-r--r-- | kubernetes/namespaces/web/site/deployment.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/namespaces/web/site/deployment.yaml b/kubernetes/namespaces/web/site/deployment.yaml index abaf28d..46abaf4 100644 --- a/kubernetes/namespaces/web/site/deployment.yaml +++ b/kubernetes/namespaces/web/site/deployment.yaml @@ -18,9 +18,9 @@ spec: image: ghcr.io/python-discord/site:latest imagePullPolicy: Always command: - - sh - - -c - - "poetry run python manage.py migrate" + - python + - manage.py + - migrate envFrom: - secretRef: name: site-env |