From 43b509de42018256c5d8443bf02b5a2f7ab018e1 Mon Sep 17 00:00:00 2001 From: Maciej Skrocki Date: Fri, 30 Jun 2023 02:01:04 +0000 Subject: [PATCH] staging: Add endpointslice to publishing data. --- staging/publishing/import-restrictions.yaml | 10 ++++++++++ staging/publishing/rules.yaml | 15 +++++++++++++++ 2 files changed, 25 insertions(+) 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