From 2cb27ba9c91eaecb699e23273e48a4ce3363608d Mon Sep 17 00:00:00 2001 From: Ludovic Cleroux Date: Fri, 10 May 2024 10:42:12 -0400 Subject: [PATCH] ROX-24127: tenant resources via gitops --- e2e/e2e_canary_upgrade_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/e2e_canary_upgrade_test.go b/e2e/e2e_canary_upgrade_test.go index 999d8d813d..c94ae9e380 100644 --- a/e2e/e2e_canary_upgrade_test.go +++ b/e2e/e2e_canary_upgrade_test.go @@ -215,7 +215,8 @@ var _ = Describe("Fleetshard-sync Targeted Upgrade", Ordered, func() { Expect(egressProxy.Spec.Template.Spec.Containers[0].Resources.Requests.Memory().String()).To(Equal("275Mi")) Expect(egressProxy.Spec.Template.Spec.Containers[0].Resources.Limits.Memory().String()).To(Equal("275Mi")) Expect(updateGitopsConfig(ctx, func(config gitops.Config) gitops.Config { - config.TenantResources.Default = ` + tenantResources := config.TenantResources + tenantResources.Default = ` labels: app.kubernetes.io/managed-by: "rhacs-fleetshard" app.kubernetes.io/instance: "{{ .Name }}" @@ -236,6 +237,7 @@ egressProxy: limits: memory: 200Mi ` + config.TenantResources = tenantResources return config })).To(Succeed()) debugGitopsConfig(ctx)