kubernetes-sigs/cluster-api

API Linting Tracking Issue

开放

#11,834 创建于 2025年2月12日

 (9 条评论) (2 个反应) (2 位负责人)Go (1,532 个派生)auto 404
help wantedkind/api-changepriority/important-soontriage/accepted

仓库指标

星标
 (4,267 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

As part of #11733, we have configured KAL, that kube-api-linter to run against the APIs within this repository.

There are a number of linter rules that need to be reviewed and enabled 1 by 1.

This issue is to track the implementation of enabling each of these linters


TODO


Not doing

NoPhase

Per discussion in July 2024, we are keeping phase fields for now. See https://github.com/kubernetes-sigs/cluster-api/pull/10897#discussion_r1685929508 and https://github.com/kubernetes-sigs/cluster-api/pull/10897#discussion_r1685919394 for the context on why we are still keeping phases.

贡献者指南