From a51870c8f49a47f50cc87a4de5f08173d9627d7e Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 7 Jun 2024 21:34:52 +0100 Subject: Update from command to args in site deployment Kubernetes renames ENTRYPOINT in Docker images to command and any additional args go in `args` (confusing, I know!) This ensures that we run within the context of Poetry so can reach Django and other installed requirements when running migrations. --- kubernetes/namespaces/web/site/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/namespaces') diff --git a/kubernetes/namespaces/web/site/deployment.yaml b/kubernetes/namespaces/web/site/deployment.yaml index 46abaf4..26f00be 100644 --- a/kubernetes/namespaces/web/site/deployment.yaml +++ b/kubernetes/namespaces/web/site/deployment.yaml @@ -17,7 +17,7 @@ spec: - name: migrations image: ghcr.io/python-discord/site:latest imagePullPolicy: Always - command: + args: - python - manage.py - migrate -- cgit v1.2.3