Skip to content

Commit 5f73efc

Browse files
committed
Use args for worker instead of command
1 parent c6e2978 commit 5f73efc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

templates/worker-deployment.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ spec:
2828
- name: {{ .Chart.Name }}-worker
2929
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
3030
imagePullPolicy: {{ .Values.image.pullPolicy }}
31-
command:
32-
- {{ .Values.worker.command }}
31+
args: ["{{ .Values.worker.args }}"]
3332
{{- if .Values.worker.sidekiq_alive.enabled }}
3433
livenessProbe:
3534
httpGet:

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ readinessProbe:
3434
timeoutSeconds: 3
3535
worker:
3636
enabled: true
37-
command: 'sidekiq' # Note: Will override entrypoint.
37+
args: 'bundle exec sidekiq' # Note: Will override entrypoint.
3838
replicaCount: 1
3939
sidekiq_alive:
4040
enabled: true

0 commit comments

Comments
 (0)