Skip to content

Commit

Permalink
Fix bug in reflector not recovering from "Too large resource version"…
Browse files Browse the repository at this point in the history
… errors

Kubernetes-commit: 8012722d626d50fd18059ec5af6d195a7dc180c1
  • Loading branch information
wojtek-t authored and k8s-publishing-bot committed Jun 26, 2020
1 parent fb3c024 commit 2b95f10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/apis/meta/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,9 @@ const (
// FieldManagerConflict is used to report when another client claims to manage this field,
// It should only be returned for a request using server-side apply.
CauseTypeFieldManagerConflict CauseType = "FieldManagerConflict"
// CauseTypeResourceVersionTooLarge is used to report that the requested resource version
// is newer than the data observed by the API server, so the request cannot be served.
CauseTypeResourceVersionTooLarge CauseType = "ResourceVersionTooLarge"
)

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down

0 comments on commit 2b95f10

Please sign in to comment.