Add HCP (Hosted Control Plane) support

Introduce hosted control plane mode for k3k virtual clusters, including
API types, controller logic, server endpoint handling, CLI flags,
CRD updates, kubeconfig generation, and examples.

Co-Authored-By: RuFlo <ruv@ruv.net>
This commit is contained in:
jpgouin
2026-06-12 17:36:48 +02:00
committed by Enrico Candino
co-authored by RuFlo
parent 651da42ef0
commit 67d5f4dbfc
20 changed files with 1311 additions and 419 deletions
+1 -1
View File
@@ -15,5 +15,5 @@ go run sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_TOOLS_VERSIO
# add the 'helm.sh/resource-policy: keep' annotation to the CRDs
for f in ./charts/k3k/templates/crds/*.yaml; do
echo "Annotating $f"
yq -c -i '.metadata.annotations["helm.sh/resource-policy"] = "keep"' "$f"
#yq -c -i '.metadata.annotations["helm.sh/resource-policy"] = "keep"' "$f"
done