From 59b2868bdd991a2befb4d475015ade2a62360882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 12 Jan 2023 12:40:04 +0100 Subject: [PATCH] fix: celery non-beat worker Fix is the same as for the beat worker. --- tutorcairn/patches/k8s-deployments | 2 +- tutorcairn/patches/local-docker-compose-services | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorcairn/patches/k8s-deployments b/tutorcairn/patches/k8s-deployments index cc71696..78e4ced 100644 --- a/tutorcairn/patches/k8s-deployments +++ b/tutorcairn/patches/k8s-deployments @@ -234,7 +234,7 @@ spec: containers: - name: cairn-superset-worker image: {{ CAIRN_SUPERSET_DOCKER_IMAGE }} - args: ["celery", "worker", "--app=superset.tasks.celery_app:app", "-Ofair", "-l", "INFO"] + args: ["celery", "--app=superset.tasks.celery_app:app", "worker", "-Ofair", "-l", "INFO"] volumeMounts: - mountPath: /app/superset_config.py name: config diff --git a/tutorcairn/patches/local-docker-compose-services b/tutorcairn/patches/local-docker-compose-services index 29c3644..82200b9 100644 --- a/tutorcairn/patches/local-docker-compose-services +++ b/tutorcairn/patches/local-docker-compose-services @@ -50,7 +50,7 @@ cairn-superset-worker: image: {{ CAIRN_SUPERSET_DOCKER_IMAGE }} volumes: - ../plugins/cairn/apps/superset/superset_config.py:/app/superset_config.py:ro - command: celery worker --app=superset.tasks.celery_app:app -Ofair -l INFO + command: celery --app=superset.tasks.celery_app:app worker -Ofair -l INFO restart: unless-stopped healthcheck: disable: true