We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e08366 commit d5e629cCopy full SHA for d5e629c
src/import/manifest.ts
@@ -413,9 +413,8 @@ export class ImportK8sManifest extends ImportBase {
413
*/
414
private getTypeFromSchema(apiVersion: string, kind: string, fieldPath: string): string | undefined {
415
try {
416
- // Load the Kubernetes schema
417
- const schemaPath = path.resolve(process.cwd(), 'k8s-v1.32.0.json');
418
- if (!fs.existsSync(schemaPath)) {
+ // Use the schema that was already downloaded
+ if (!this.schema) {
419
return undefined;
420
}
421
0 commit comments