@@ -132,31 +132,31 @@ type StorageVersionMigration struct {
132
132
// Standard object metadata.
133
133
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
134
134
// +optional
135
- metav1.ObjectMeta ` json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata" `
135
+ metav1.ObjectMeta ` json:"metadata,omitempty"`
136
136
// Specification of the migration.
137
137
// +optional
138
- Spec StorageVersionMigrationSpec ` json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec" `
138
+ Spec StorageVersionMigrationSpec ` json:"spec,omitempty"`
139
139
// Status of the migration.
140
140
// +optional
141
- Status StorageVersionMigrationStatus ` json:"status,omitempty" protobuf:"bytes,3,opt,name=status" `
141
+ Status StorageVersionMigrationStatus ` json:"status,omitempty"`
142
142
}
143
143
144
144
// Spec of the storage version migration.
145
145
type StorageVersionMigrationSpec struct {
146
146
// The resource that is being migrated. The migrator sends requests to
147
147
// the endpoint serving the resource.
148
148
// Immutable.
149
- Resource GroupVersionResource ` json:"resource" protobuf:"bytes,1,opt,name=resource" `
149
+ Resource GroupVersionResource ` json:"resource"`
150
150
}
151
151
152
152
// The names of the group, the version, and the resource.
153
153
type GroupVersionResource struct {
154
154
// The name of the group.
155
- Group string ` json:"group,omitempty" protobuf:"bytes,1,opt,name=group" `
155
+ Group string ` json:"group,omitempty"`
156
156
// The name of the version.
157
- Version string ` json:"version,omitempty" protobuf:"bytes,2,opt,name=version" `
157
+ Version string ` json:"version,omitempty"`
158
158
// The name of the resource.
159
- Resource string ` json:"resource,omitempty" protobuf:"bytes,3,opt,name=resource" `
159
+ Resource string ` json:"resource,omitempty"`
160
160
}
161
161
162
162
type MigrationConditionType string
@@ -182,7 +182,7 @@ type StorageVersionMigrationStatus struct {
182
182
// ResourceVersion to compare with the GC cache for performing the migration.
183
183
// This is the current resource version of given group, version and resource when
184
184
// kube-controller-manager first observes this StorageVersionMigration resource.
185
- ResourceVersion string ` json:"resourceVersion,omitempty" protobuf:"bytes,2,opt,name=resourceVersion" `
185
+ ResourceVersion string ` json:"resourceVersion,omitempty"`
186
186
}
187
187
188
188
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
@@ -195,13 +195,13 @@ type StorageVersionMigrationList struct {
195
195
// Standard list metadata
196
196
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
197
197
// +optional
198
- metav1.ListMeta ` json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata" `
198
+ metav1.ListMeta ` json:"metadata,omitempty"`
199
199
// Items is the list of StorageVersionMigration
200
200
// +patchMergeKey=type
201
201
// +patchStrategy=merge
202
202
// +listType=map
203
203
// +listMapKey=type
204
- Items []StorageVersionMigration ` json:"items" listType:"map" listMapKey:"type" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=items" `
204
+ Items []StorageVersionMigration ` json:"items" listType:"map" listMapKey:"type" patchStrategy:"merge" patchMergeKey:"type"`
205
205
}
206
206
```
207
207
0 commit comments