From da43acd1fdb0ab0fea78af197d21f1feb343632d Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Fri, 9 Jul 2021 16:10:18 +0200 Subject: [PATCH] Set component command with args instead of command Otherwise dumb-init is overriden as the entrypoint. Change-Id: Ied532a3be46a40369f9bea758871cb3e2080bb51 --- zuul_operator/templates/zuul.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zuul_operator/templates/zuul.yaml b/zuul_operator/templates/zuul.yaml index a9276cb..d1e66b6 100644 --- a/zuul_operator/templates/zuul.yaml +++ b/zuul_operator/templates/zuul.yaml @@ -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