mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #82085 from apelisse/add-tombston-field
Tombstone the former Fields field by commenting the old entry
This commit is contained in:
commit
6dff9182d7
@ -1102,6 +1102,10 @@ type ManagedFieldsEntry struct {
|
|||||||
// Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
|
// Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
|
||||||
// +optional
|
// +optional
|
||||||
Time *Time `json:"time,omitempty" protobuf:"bytes,4,opt,name=time"`
|
Time *Time `json:"time,omitempty" protobuf:"bytes,4,opt,name=time"`
|
||||||
|
|
||||||
|
// Fields is tombstoned to show why 5 is a reserved protobuf tag.
|
||||||
|
//Fields *Fields `json:"fields,omitempty" protobuf:"bytes,5,opt,name=fields,casttype=Fields"`
|
||||||
|
|
||||||
// FieldsType is the discriminator for the different fields format and version.
|
// FieldsType is the discriminator for the different fields format and version.
|
||||||
// There is currently only one possible value: "FieldsV1"
|
// There is currently only one possible value: "FieldsV1"
|
||||||
FieldsType string `json:"fieldsType,omitempty" protobuf:"bytes,6,opt,name=fieldsType"`
|
FieldsType string `json:"fieldsType,omitempty" protobuf:"bytes,6,opt,name=fieldsType"`
|
||||||
|
Loading…
Reference in New Issue
Block a user