Skip to content

Commit

Permalink
fix: use node command for scheduler (#67)
Browse files Browse the repository at this point in the history
* fix: use node command not yarn scripts

* Update Chart.yaml

* 🤖 update docs [skip ci]

---------

Co-authored-by: owlas <[email protected]>
  • Loading branch information
owlas and owlas authored Jul 11, 2024
1 parent 2d25df7 commit 7c363b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/lightdash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.2.0
version: 1.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/lightdash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A Helm chart to deploy lightdash on kubernetes

![Version: 1.2.0](https://img.shields.io/badge/Version-1.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1121.0](https://img.shields.io/badge/AppVersion-0.1121.0-informational?style=flat-square)
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1121.0](https://img.shields.io/badge/AppVersion-0.1121.0-informational?style=flat-square)

## Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion charts/lightdash/templates/workerDeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["yarn", "workspace", "backend", "scheduler"]
command: ["node", "packages/backend/dist/scheduler.js"]
args: {{ .Values.image.args }}
env:
- name: PGPASSWORD
Expand Down

0 comments on commit 7c363b4

Please sign in to comment.