chore(deps): update Go modules to latest

Update k8s libraries to v0.37.1 and controller-runtime to v0.25.2.
Pin kube-openapi to the version that k8s v0.37.1 requires.
Add the new Apply method to the test status writer mock.
This commit is contained in:
2026-10-02 03:58:15 +01:00
parent 49f068edcd
commit f3f3301368
3 changed files with 247 additions and 263 deletions
+4
View File
@@ -366,6 +366,10 @@ func (m *MockStatusWriter) Patch(ctx context.Context, obj client.Object, patch c
return m.client.Patch(ctx, obj, patch)
}
func (m *MockStatusWriter) Apply(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.SubResourceApplyOption) error {
return nil
}
// Helper to add test data
func (m *MockClient) AddManagedJob(mj *jobsmanagerv1beta1.ManagedJob) {
m.mu.Lock()