Skip to content

Commit f13e1ae

Browse files
Enforce client side apply by server-side false
Co-authored-by: Copilot <[email protected]>
1 parent 313a440 commit f13e1ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/nomostest/config_sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,14 @@ func InstallConfigSyncFromManifest(nt *NT) error {
259259
}
260260

261261
nt.T.Logf("Applying multi-repo configmaps from %s", multiConfigMaps)
262-
out, err = nt.Shell.Kubectl("apply", "-f", multiConfigMaps)
262+
out, err = nt.Shell.Kubectl("apply", "--server-side=false", "-f", multiConfigMaps)
263263
if err != nil {
264264
return fmt.Errorf("failed to apply multi-repo configmaps: %v\n%s", err, out)
265265
}
266266

267267
// Apply the admission webhook manifest
268268
nt.T.Logf("Applying admission webhook manifest from %s", admissionWebhookManifest)
269-
out, err = nt.Shell.Kubectl("apply", "-f", admissionWebhookManifest)
269+
out, err = nt.Shell.Kubectl("apply", "--server-side=false", "-f", admissionWebhookManifest)
270270
if err != nil {
271271
return fmt.Errorf("failed to apply admission webhook manifest: %v\n%s", err, out)
272272
}

0 commit comments

Comments
 (0)