{"id":21170340,"url":"https://github.com/mslapek/kubedirlint","last_synced_at":"2026-05-09T19:14:25.973Z","repository":{"id":103342234,"uuid":"571242219","full_name":"mslapek/kubedirlint","owner":"mslapek","description":"A simple program that checks the placement of Kubernetes YAML files in your project.","archived":false,"fork":false,"pushed_at":"2022-12-18T09:52:47.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T17:49:03.202Z","etag":null,"topics":["cloud","kubernetes","linter","yaml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mslapek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-27T16:07:53.000Z","updated_at":"2022-11-27T16:21:02.000Z","dependencies_parsed_at":"2023-07-07T18:32:37.885Z","dependency_job_id":null,"html_url":"https://github.com/mslapek/kubedirlint","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mslapek/kubedirlint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslapek%2Fkubedirlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslapek%2Fkubedirlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslapek%2Fkubedirlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslapek%2Fkubedirlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslapek","download_url":"https://codeload.github.com/mslapek/kubedirlint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslapek%2Fkubedirlint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32831730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","kubernetes","linter","yaml"],"created_at":"2024-11-20T15:58:16.242Z","updated_at":"2026-05-09T19:14:25.954Z","avatar_url":"https://github.com/mslapek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubedirlint\n\nA simple program that checks the placement of\n[Kubernetes YAML files](https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/)\nin your project.\n\n`kubedirlint` expects files to follow the following pattern:\n\n```\n\u003cnamespace\u003e/\u003ckind\u003e/\u003cname\u003e.yaml\n```\n\nFor instance:\n\n```\naccounting/deployment/tax-compute.yaml\n```\n\nAll violations are reported to the stderr.\nIf violations are present, the program exits with an error code.\n\n## Installation\n\nRun this to build and install the application:\n\n```\ngo install\n```\n\nIt should place the application in `~/go/bin/kubedirlint`.\nThe whole application is self-contained in one executable file.\n\nYou might consider adding the directory `~/go/bin` to the `PATH`\nenvironment variable.\n\n## Usage\n\nChange the directory to the catalog with your project.\nThen just run the application:\n\n```\ncd myproject\nkubedirlint\n```\n\nIf everything is OK, it will print:\n\n```\nall 5 files are OK\n```\n\nBut if something is wrong...\n\n```\ngot 1 error\nfile accounting/tax.yml has wrong path, should be accounting/service/tax-calc.yaml\n```\n\n## Design Principles\n\nKeep it simple.\n\nRead-only operations.\n\nAutomated tests are cool.\n\nPrint all errors nicely to the stderr.\n\nNo network connections.\n\n## Contributing\n\nIssues are tracked on [GitHub](https://github.com/mslapek/kubedirlint/issues).\n\n## Changelog\n\nPlease see [CHANGELOG.md](CHANGELOG.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslapek%2Fkubedirlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslapek%2Fkubedirlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslapek%2Fkubedirlint/lists"}