Skip to content
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

Support for kubeconform? #14

Open
Diaoul opened this issue Jun 15, 2024 · 2 comments
Open

Support for kubeconform? #14

Diaoul opened this issue Jun 15, 2024 · 2 comments

Comments

@Diaoul
Copy link

Diaoul commented Jun 15, 2024

Would be nice to have the pre-commit hook build the most top level kustomization impacted by the commit and check that it's conform.

Inspiration can be taken from here (although no kubeconform)

@gabe565
Copy link
Owner

gabe565 commented Jun 17, 2024

Thanks for opening this! I haven't used Kubeconform before, but it seems like a great fit for a pre-commit check. Let me play with it and see if I can run it programmatically.

@Diaoul
Copy link
Author

Diaoul commented Jun 17, 2024

Great! Thanks a ton! Probably this is a good place to start to see how it's ran.

There is some pre-commit pumbing to do though to target only the relevant files (which really is what my first example is about).

Hopefully this is not too slow to be acceptable as pre-commit hook 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants