Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
convert .import-restrictions to yaml
Browse files Browse the repository at this point in the history
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

Kubernetes-commit: f306a0dbb4a462e2ac5882196e7276a0c890b219
  • Loading branch information
spiffxp authored and k8s-publishing-bot committed Apr 22, 2020
1 parent 4bc84ef commit 38091dc
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .import-restrictions
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"Rules": [
{
"SelectorRegexp": "k8s[.]io/kubernetes",
"ForbiddenPrefixes": [
""
]
}
]
}
rules:
# prevent import of k8s.io/kubernetes
- selectorRegexp: k8s[.]io/kubernetes
forbiddenPrefixes:
- ''

0 comments on commit 38091dc

Please sign in to comment.