aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-06-07 21:05:22 +0100
committerGravatar Joe Banks <[email protected]>2024-06-07 21:05:22 +0100
commit549a559cb935c5337622cc7cdcf3d0d173c93b41 (patch)
treeaaa1e7ccaafd8b025394771d1204cebb91a4e14f /kubernetes/namespaces
parentUpdate site to run migrations in an init container (diff)
Remove unnecessary shell execution for migration initContainer
Diffstat (limited to 'kubernetes/namespaces')
-rw-r--r--kubernetes/namespaces/web/site/deployment.yaml6
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