✨ (go/v4): scaffold kube-api-linter support in new projects#4941
✨ (go/v4): scaffold kube-api-linter support in new projects#4941camilamacedo86 wants to merge 1 commit intokubernetes-sigs:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
444bd36 to
6bda013
Compare
85696c0 to
2f745c5
Compare
2f745c5 to
6a5c28f
Compare
6a5c28f to
96e5382
Compare
ecd247e to
8fcd00e
Compare
787744d to
3ca5994
Compare
3ca5994 to
08a0d45
Compare
2baf23a to
93ca425
Compare
93ca425 to
ca3b542
Compare
d0cd534 to
6b449d7
Compare
3786d2e to
0470f8d
Compare
0470f8d to
528c96b
Compare
|
@camilamacedo86: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
.custom-gcl.yml, adds Makefile and CI hooks, and enables thekubeapilintermodule in.golangci.ymlso every new operator starts with CRD-focused linting out of the box.optionalfieldspointer policy defaults toWhenRequired, matching the kube-api-linter maintainers’ recommendation for CRDs and avoiding the stricter setting that targets core Kubernetes API types (kube-api-linter#128).Closes: #4809