Skip to content

Commit

Permalink
comment managedfields for config subresource
Browse files Browse the repository at this point in the history
  • Loading branch information
phosae committed Jul 25, 2023
1 parent be8df3e commit fb635e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api-aggregation-lib/pkg/registry/hello.zeng.dev/foo/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ func toConfigUpdateValidation(f rest.ValidateObjectUpdateFunc) rest.ValidateObje
}

// configUpdatedObjectInfo transforms existing foo -> existing config -> new config -> new foo
// maybe or not: impelements custom managedfields for config,
// like https://github.com/kubernetes/kubernetes/blob/7e0a9a7f4e70e4cc6f5dd49917d18101a8e1a25c/pkg/registry/apps/replicaset/storage/storage.go#L320
type configUpdatedObjectInfo struct {
name string
reqObjInfo rest.UpdatedObjectInfo
Expand Down

0 comments on commit fb635e2

Please sign in to comment.