Set component command with args instead of command

Otherwise dumb-init is overriden as the entrypoint.

Change-Id: Ied532a3be46a40369f9bea758871cb3e2080bb51
changes/63/800263/8
Albin Vass 2 years ago committed by James E. Blair
parent e39d82975e
commit da43acd1fd

@ -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

Loading…
Cancel
Save