From 06d41872b2b8b475d8913d3273ced0e40c4f181f Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Fri, 17 Nov 2023 12:11:29 +0000 Subject: [PATCH] zuul-executor - fix wrongly using Storage def from scheduler Change-Id: I1308e9ea638aece5e33dc95fdba62d8f74084915 --- controllers/zuul.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/zuul.go b/controllers/zuul.go index 3a15130e..795b19f9 100644 --- a/controllers/zuul.go +++ b/controllers/zuul.go @@ -399,7 +399,7 @@ func (r *SFController) EnsureZuulExecutor(cfg *ini.File) bool { "zuul-connections": utils.IniSectionsChecksum(cfg, utils.IniGetSectionNamesByPrefix(cfg, "connection")), } - ze := r.mkHeadlessSatefulSet("zuul-executor", "", r.getStorageConfOrDefault(r.cr.Spec.Zuul.Scheduler.Storage), 1, apiv1.ReadWriteOnce) + ze := r.mkHeadlessSatefulSet("zuul-executor", "", r.getStorageConfOrDefault(r.cr.Spec.Zuul.Executor.Storage), 1, apiv1.ReadWriteOnce) ze.Spec.Template.Spec.Containers = r.mkZuulContainer("zuul-executor") ze.Spec.Template.Spec.Volumes = mkZuulVolumes("zuul-executor", r)