Skip to content

Commit

Permalink
ROX-24127: tenant resources via gitops
Browse files Browse the repository at this point in the history
  • Loading branch information
ludydoo committed May 10, 2024
1 parent 5daef34 commit 2cb27ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/e2e_canary_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -236,6 +237,7 @@ egressProxy:
limits:
memory: 200Mi
`
config.TenantResources = tenantResources
return config
})).To(Succeed())
debugGitopsConfig(ctx)
Expand Down

0 comments on commit 2cb27ba

Please sign in to comment.