mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Merge pull request #3630 from natasha41575/UseCustomOpenApiSchema
kustomization openapi data should be parsed for custom schema
This commit is contained in:
@@ -483,6 +483,10 @@ func initSchema() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic("invalid schema file")
|
panic("invalid schema file")
|
||||||
}
|
}
|
||||||
|
if err := parse(kustomizationapi.MustAsset(kustomizationAPIAssetName)); err != nil {
|
||||||
|
// this should never happen
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user