Set component command with args instead of command

Otherwise dumb-init is overriden as the entrypoint.

Change-Id: Ied532a3be46a40369f9bea758871cb3e2080bb51
This commit is contained in:
Albin Vass 2021-07-09 16:10:18 +02:00 committed by James E. Blair
parent e39d82975e
commit da43acd1fd

View File

@ -143,7 +143,7 @@ spec:
containers:
- name: scheduler
image: {{ spec.imagePrefix }}/zuul-scheduler:{{ spec.zuulImageVersion }}
command: ["/usr/local/bin/zuul-scheduler", "-f", "-d"]
args: ["/usr/local/bin/zuul-scheduler", "-f", "-d"]
ports:
- name: gearman
containerPort: 4730
@ -324,7 +324,7 @@ spec:
containers:
- name: executor
image: {{ spec.imagePrefix }}/zuul-executor:{{ spec.zuulImageVersion }}
command: ["/usr/local/bin/zuul-executor", "-f", "-d"]
args: ["/usr/local/bin/zuul-executor", "-f", "-d"]
ports:
- name: logs
containerPort: 7900