mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Moving verifyComponentConfigKindExists to verify internal package to support sparse external package versions
This commit is contained in:
parent
9c3cb6e66d
commit
6b4281d167
@ -60,7 +60,6 @@ var testingFuncs = map[string]testingFunc{
|
||||
verifyGroupNameSuffix: verifyGroupNameSuffixFunc,
|
||||
verifyGroupNameMatch: verifyGroupNameMatchFunc,
|
||||
verifyCorrectGroupName: verifyCorrectGroupNameFunc,
|
||||
verifyComponentConfigKindExists: verifyComponentConfigKindExistsFunc,
|
||||
}
|
||||
|
||||
// VerifyExternalTypePackage tests if external component config package is defined correctly
|
||||
@ -95,6 +94,7 @@ func VerifyInternalTypePackage(pkginfo *ComponentConfigPackage) error {
|
||||
}
|
||||
extraFns := map[string]testingFunc{
|
||||
verifyInternalAPIVersion: verifyInternalAPIVersionFunc,
|
||||
verifyComponentConfigKindExists: verifyComponentConfigKindExistsFunc,
|
||||
}
|
||||
return runFuncs(scheme, pkginfo, extraFns)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user