Skip to content

Commit d5e629c

Browse files
committed
fix: Remove leftover of local k8s api json file
1 parent 5e08366 commit d5e629c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/import/manifest.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,8 @@ export class ImportK8sManifest extends ImportBase {
413413
*/
414414
private getTypeFromSchema(apiVersion: string, kind: string, fieldPath: string): string | undefined {
415415
try {
416-
// Load the Kubernetes schema
417-
const schemaPath = path.resolve(process.cwd(), 'k8s-v1.32.0.json');
418-
if (!fs.existsSync(schemaPath)) {
416+
// Use the schema that was already downloaded
417+
if (!this.schema) {
419418
return undefined;
420419
}
421420

0 commit comments

Comments
 (0)