File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -286,9 +286,7 @@ func FixTopLevelMetadata(crd apiext.CustomResourceDefinition) {
286
286
schemaProperties ["metadata" ] = apiext.JSONSchemaProps {Type : "object" }
287
287
}
288
288
}
289
-
290
289
}
291
-
292
290
}
293
291
294
292
// toTrivialVersions strips out all schemata except for the storage schema,
Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ var ObjectMetaPackages = map[string]PackageOverride{
118
118
if f , ok := KnownPackages ["k8s.io/apimachinery/pkg/apis/meta/v1" ]; ok {
119
119
f (p , pkg )
120
120
}
121
- // This is a allow-listed set of properties of ObjectMeta, other runtime properties are not part of this list
121
+ // This is an allow-listed set of properties of ObjectMeta, other runtime properties are not part of this list
122
+ // See more discussion: https://github.com/kubernetes-sigs/controller-tools/pull/395#issuecomment-691919433
122
123
p .Schemata [TypeIdent {Name : "ObjectMeta" , Package : pkg }] = apiext.JSONSchemaProps {
123
124
Type : "object" ,
124
125
Properties : map [string ]apiext.JSONSchemaProps {
You can’t perform that action at this time.
0 commit comments