From c10328070b922d8df6fdfa7ca935ec8136e0b1f4 Mon Sep 17 00:00:00 2001 From: Akash Date: Tue, 31 Dec 2024 23:04:10 +0530 Subject: [PATCH] feat : add cluster registration step in pull mode to installation workflow Signed-off-by: Akash --- .github/workflows/installation-chart.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/installation-chart.yaml b/.github/workflows/installation-chart.yaml index 06d66a840ca3..11da95da06ff 100644 --- a/.github/workflows/installation-chart.yaml +++ b/.github/workflows/installation-chart.yaml @@ -110,3 +110,8 @@ jobs: ct install --charts charts/karmada --debug --helm-extra-set-args '--set components={search,metricsAdapter,descheduler},apiServer.hostNetwork=true' --helm-extra-args "--timeout 800s" --skip-clean-up kubectl get pods -A + - name: register cluster in pull mode + run: | + karmadactl register cluster \ + --cluster-name ${{ matrix.k8s }} \ + --mode Pull