diff --git a/staging/publishing/OWNERS b/staging/publishing/OWNERS index 9770ff5e9dd..c9fa3002a50 100644 --- a/staging/publishing/OWNERS +++ b/staging/publishing/OWNERS @@ -6,6 +6,7 @@ approvers: - dims - justaugustus reviewers: + - aojea - sttts - cpanato - dims diff --git a/staging/publishing/import-restrictions.yaml b/staging/publishing/import-restrictions.yaml index 1d488a3ceb7..0b2dbac8de2 100644 --- a/staging/publishing/import-restrictions.yaml +++ b/staging/publishing/import-restrictions.yaml @@ -278,6 +278,8 @@ - k8s.io/klog - k8s.io/csi-translation-lib +# To prevent dependency leaking into downstream components and to maintain a +# minimal footprint, do NOT add any new dependencies to this module - baseImportPath: "./staging/src/k8s.io/component-helpers" allowedImports: - k8s.io/api diff --git a/staging/src/k8s.io/component-helpers/README.md b/staging/src/k8s.io/component-helpers/README.md index 27fd26c1f73..7e797b78563 100644 --- a/staging/src/k8s.io/component-helpers/README.md +++ b/staging/src/k8s.io/component-helpers/README.md @@ -10,7 +10,7 @@ Yet, still with a high level of abstraction. `k8s.io/component-base` staging repository was considered as a candidate for hosting the helpers. Although, since the helpers are not required by the core components, the repository was deemed unsuitable. -The only allowed kubernetes dependencies are `k8s.io/apimachinery`, `k8s.io/api` and `k8s.io/client-go`. +To maintain a minimal footprint and prevent dependency bloat, no external direct dependencies are allowed. ## Purpose