Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ Version v0.5.0 includes significant architectural improvements to the API struct
### Backend Architecture Improvements

- **MultiCluster Runtime Integration**: The backend now leverages `sigs.k8s.io/multicluster-runtime` for enhanced cluster management capabilities
- **Provider Support**: Built-in support for multiple backend providers including KCP through `github.com/kcp-dev/multicluster-provider`
- **Provider Support**: Built-in support for multiple backend providers including kcp through `github.com/kcp-dev/multicluster-provider`
- **Enhanced Cluster Operations**: Improved cluster-aware resource management with dedicated manager architecture for handling multi-cluster scenarios
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,13 @@ run-kcp: install-kcp
$(KCP) start --bind-address=127.0.0.1

.PHONY: run-kcp-infra
run-kcp-infra: install-kcp $(DEX_BINARY) ## Run KCP infrastructure for e2e tests (blocking)
run-kcp-infra: install-kcp $(DEX_BINARY) ## Run kcp infrastructure for e2e tests (blocking)
mkdir -p .kcp
$(MAKE) run-dex 2>&1 & DEX_PID=$$!; \
$(MAKE) run-kcp &>.kcp/kcp.log & KCP_PID=$$!; \
trap 'kill -TERM $$DEX_PID $$KCP_PID; rm -rf .kcp' TERM INT EXIT && \
echo "Waiting for kcp to be ready (check .kcp/kcp.log)." && while ! KUBECONFIG=.kcp/admin.kubeconfig kubectl get --raw /readyz &>/dev/null; do sleep 1; echo -n "."; done && echo && \
echo "KCP is ready. Press Ctrl+C to stop." && \
echo "kcp is ready. Press Ctrl+C to stop." && \
wait $$KCP_PID

.PHONY: test-e2e-only
Expand All @@ -306,7 +306,7 @@ endif
test-e2e-only: TEST_ARGS ?=
test-e2e-only: WORK_DIR ?= .
test-e2e-only: WHAT ?= ./test/e2e...
test-e2e-only: build ## Run e2e tests against existing KCP infrastructure
test-e2e-only: build ## Run e2e tests against existing kcp infrastructure
KUBECONFIG=$$PWD/.kcp/admin.kubeconfig GOOS=$(OS) GOARCH=$(ARCH) $(GO_TEST) -race -v -count $(COUNT) $(E2E_PARALLELISM_FLAG) $(WHAT) $(TEST_ARGS)

.PHONY: test-e2e
Expand Down
2 changes: 1 addition & 1 deletion contrib/kcp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ all: build
install-apigen:
@GO_MODULE=true $(ROOT_DIR)/hack/uget.sh github.com/kcp-dev/sdk/cmd/apigen apigen $(KCP_APIGEN_VERSION)

codegen: ## Generate KCP API resources from CRDs
codegen: ## Generate kcp API resources from CRDs
./hack/update-kcp-codegen.sh
2 changes: 1 addition & 1 deletion docs/content/developers/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ The end-to-end test validates the complete binding and synchronization flow:

### Setup Phase

1. **Create provider workspace (KCP)**
1. **Create provider workspace (kcp)**
- Install kube-bind CRDs
- Start backend server (HTTP API for binding)
- Bootstrap example CRDs (Cowboys/Sheriffs)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/bind/happy-case_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func TestNamespacedScoped(t *testing.T) {
// SETUP PHASE
// ===========
// ┌──────────────────────────────────────────────────────────────────────────┐
// │ 1. Create provider workspace (KCP) │
// │ 1. Create provider workspace (kcp) │
// │ - Install kube-bind CRDs │
// │ - Start backend server (HTTP API for binding) │
// │ - Bootstrap example CRDs (Cowboys/Sheriffs) via examples.Bootstrap() │
Expand Down