kubeshop / vscode-monokle

An extension for Visual Studio Code to validate your Kubernetes configuration
https://marketplace.visualstudio.com/items?itemName=kubeshop.monokle
MIT License
6 stars 0 forks source link

Resource-link validator will not work #18

Closed f1ames closed 9 months ago

f1ames commented 1 year ago

As mentioned in https://github.com/kubeshop/monokle-core/tree/main/packages/validation#caveats:

Use processRefs before validating with a resource-links validator. It creates a graph between resources and sees if links between them are present or missing.

This function is not used anywhere in validation process at this stage, meaning resource-link validator will not work correctly. This need to be added as part of validation flow, somewhere here - https://github.com/kubeshop/vscode-monokle/blob/3bfab90e4e25c01844cfa489cb30a367d46b794e/src/utils/validation.ts#L56-L70