Skip to content

Commit

Permalink
test(e2e): use proper skip default mesh setting
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <[email protected]>
  • Loading branch information
michaelbeaumont committed Sep 19, 2024
1 parent 093cc1b commit e7c1020
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/federation/federation_kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func FederateKubeZoneCPToKubeGlobal() {
Install(Kuma(core.Global,
WithInstallationMode(HelmInstallationMode),
WithHelmReleaseName(releaseName),
WithEnv("KUMA_DEFAULTS_SKIP_MESH_CREATION", "true"),
WithSkipDefaultMesh(true),
)).
Setup(global)
Expect(err).ToNot(HaveOccurred())
Expand Down
4 changes: 3 additions & 1 deletion test/e2e/federation/federation_universal.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ func FederateKubeZoneCPToUniversalGlobal() {
releaseName = fmt.Sprintf("kuma-%s", strings.ToLower(random.UniqueId()))

err := NewClusterSetup().
Install(Kuma(core.Global, WithEnv("KUMA_DEFAULTS_SKIP_MESH_CREATION", "true"))).
Install(Kuma(core.Global,
WithSkipDefaultMesh(true),
)).
Setup(global)
Expect(err).ToNot(HaveOccurred())

Expand Down

0 comments on commit e7c1020

Please sign in to comment.