-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Warning message with indentation error #113
Comments
Hi @sofia-fernandez-six. Thank you for opening issue. If you would like to validate your YAML logically, https://github.com/kubernetes-sigs/kubectl-validate is good choise. chartsnap can take a snapshot as a standard YAML that helm outputs so you can pass it to I tried it and I can find But I also found a pain that https://github.com/kubernetes-sigs/kubectl-validate/blob/v0.0.3/pkg/utils/files.go#L9-L12 So currently you have to run cp example/app1/test/__snapshots__/test_ingress_enabled.snap test_ingress_enabled.yaml && kubectl validate test_ingress_enabled.yaml There are some options to resolve it.
option1 may be available soon as PR seems to be opened recently: kubernetes-sigs/kubectl-validate#125 |
Thank you for the suppot @jlandowner , |
Hi,
I am writing to request a feature enhancement in your chartsnap plugin. Specifically, I would like the system to generate a warning when the indexing of YAML files is incorrect. For example, this example:
Currently, when there is an issue with the indexing of these files, it can lead to unexpected behavior in our application, which is difficult to debug due to the lack of explicit warnings or error messages.
Implementing this feature would greatly improve our ability to identify and resolve issues more efficiently, thereby improving the overall robustness of our application.
I look forward to your positive response. Because this approach, we could resolve a lot of issues in our debugging.
Thank you for all your help.
Best regards,
Sofía
The text was updated successfully, but these errors were encountered: