File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,6 @@ import (
25
25
// KnownPackages overrides types in some comment packages that have custom validation
26
26
// but don't have validation markers on them (since they're from core Kubernetes).
27
27
var KnownPackages = map [string ]PackageOverride {
28
- "k8s.io/api/core/v1" : func (p * Parser , pkg * loader.Package ) {
29
- // Explicit defaulting for the corev1.Protocol type in lieu of https://github.com/kubernetes/enhancements/pull/1928
30
- p .Schemata [TypeIdent {Name : "Protocol" , Package : pkg }] = apiext.JSONSchemaProps {
31
- Type : "string" ,
32
- Default : & apiext.JSON {Raw : []byte (`"TCP"` )},
33
- }
34
- p .AddPackage (pkg )
35
- },
36
-
37
28
"k8s.io/apimachinery/pkg/apis/meta/v1" : func (p * Parser , pkg * loader.Package ) {
38
29
p .Schemata [TypeIdent {Name : "ObjectMeta" , Package : pkg }] = apiext.JSONSchemaProps {
39
30
Type : "object" ,
You can’t perform that action at this time.
0 commit comments