Skip to content

Use KAL linter for Kubernetes API definitions #246

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

Open
1 task
czeslavo opened this issue Jan 21, 2025 · 1 comment
Open
1 task

Use KAL linter for Kubernetes API definitions #246

czeslavo opened this issue Jan 21, 2025 · 1 comment

Comments

@czeslavo
Copy link
Contributor

Problem Statement

Defining Kubernetes API via Go types has its pitfalls. Some of them can be caught using a new KAL linter: https://github.com/JoelSpeed/kal.

Inspired by #238 (comment).

Proposed Solution

Use KAL as a standalone binary (as of now, it's not part of the golangcilint suite, so that should be the easiest way for now - we can migrate once it's included).

Acceptance Criteria

@pmalek
Copy link
Member

pmalek commented Apr 15, 2025

Linter location has moved to https://github.com/kubernetes-sigs/kube-api-linter (original link still works with a redirect to said new location).

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