diff --git a/staging/publishing/import-restrictions.yaml b/staging/publishing/import-restrictions.yaml index 695a554b9d9..7d3da19b4ce 100644 --- a/staging/publishing/import-restrictions.yaml +++ b/staging/publishing/import-restrictions.yaml @@ -306,3 +306,13 @@ - k8s.io/klog - k8s.io/kms - k8s.io/utils + +- baseImportPath: "./vendor/k8s.io/endpointslice/" + allowedImports: + - k8s.io/api + - k8s.io/apimachinery + - k8s.io/client-go + - k8s.io/component-base + - k8s.io/endpointslice + - k8s.io/klog + - k8s.io/utils diff --git a/staging/publishing/rules.yaml b/staging/publishing/rules.yaml index 9b731ce39ee..5fff16924f7 100644 --- a/staging/publishing/rules.yaml +++ b/staging/publishing/rules.yaml @@ -2103,6 +2103,21 @@ rules: source: branch: release-1.27 dir: staging/src/k8s.io/dynamic-resource-allocation +- destination: endpointslice + branches: + - name: master + dependencies: + - repository: api + branch: master + - repository: apimachinery + branch: master + - repository: client-go + branch: master + - repository: component-base + branch: master + source: + branch: master + dir: staging/src/k8s.io/endpointslice recursive-delete-patterns: - '*/.gitattributes' default-go-version: 1.20.5