Chore: Update k8s.io to v0.33.1 (#105307)

This commit is contained in:
Ryan McKinley
2025-05-28 00:13:18 +03:00
committed by GitHub
parent b11be2f37d
commit d4c446f42c
63 changed files with 689 additions and 524 deletions
+7
View File
@@ -163,6 +163,13 @@ func NewStorage(
return s, func() {}, nil
}
// GetCurrentResourceVersion implements storage.Interface.
// See: https://github.com/kubernetes/kubernetes/blob/v1.33.0/staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go#L647
func (s *Storage) GetCurrentResourceVersion(ctx context.Context) (uint64, error) {
// Although not totally accurate, this is sufficient
return uint64(time.Now().UnixMicro()), nil
}
func (s *Storage) Versioner() storage.Versioner {
return s.versioner
}