
yaml has comments, so we can explain why we have certain rules or certain prefixes for those files that weren't already commented yaml, I converted them to yaml and took a best guess at comments based on the PRs that introduced or updated them
13 lines
478 B
Plaintext
13 lines
478 B
Plaintext
rules:
|
|
- selectorRegexp: k8s[.]io/kubernetes
|
|
allowedPrefixes:
|
|
- ''
|
|
forbiddenPrefixes:
|
|
# prevent pkg/ from depending on cmd/
|
|
# note: pkg/kubemark and pkg/api/testing override this
|
|
- k8s.io/kubernetes/cmd
|
|
# use sigs.k8s.io/yaml instead
|
|
- github.com/ghodss/yaml
|
|
# prevent kubernetes from opening sctp sockets (ref: https://github.com/kubernetes/kubernetes/pull/87926#discussion_r376642015)
|
|
- github.com/ishidawataru/sctp
|