Repository navigation
Description
Follow-up to #69 (closes #45). The PR's two auth flows have been verified locally on a solo k3d cluster (App auth + PAT auth, both green; two bugs found and fixed). What's left is the Aruba-only path that solo can't exercise: task github:register, sync.fromHost.secrets mirroring, and the per-pair validator tile.
This issue also folds in other still-pending Aruba checks from earlier merged PRs that were deferred and never re-confirmed, so they can all be batched into one Aruba session.
Test plan — PR #69 (provider-github module)
-
task github:registerruns cleanly on the Aruba management cluster withGITHUB_APP_ID=3530745,GITHUB_APP_INSTALLATION_ID=127778039,GITHUB_APP_PEM_FILE=…. Secret namedgithub-app-credentialsappears in everyparticipant-*namespace. - Re-running
task github:registeris a no-op (Secret replaced in place, no errors, no rollout churn). - After ArgoCD reconciles the Composition change in
gitops/crossplane-config/composition.yaml, each pair vcluster mirrors the Secret. Verify onfancy-lemon:
kubectl --kubeconfig <vc-fancy-lemon> -n crossplane-system get secret github-app-credentials
Should showDATA=1with the samecredentialskey. - Walk module
docs/docs/06-crossplane-3xx/03-provider-github.mdxend-to-end againstfancy-lemon:-
Provider/provider-githubreachesINSTALLED=True, HEALTHY=True. -
ProviderConfig/default(groupgithub.upbound.io/v1beta1) accepted. -
Repository/pair-fancy-lemon-helloreachesREADY=True, SYNCED=True. - Repo visible at https://github.com/riccap-demo-org/pair-fancy-lemon-hello (HTTP 200, anonymous).
- Editing the MR (e.g. add a
topics:entry) round-trips to GitHub within ~10s.
-
-
provider-github-installedvalidator tile renders green on the workshop dashboard for the test pair. -
task verify:all MODE=localstill passes against the same cluster — no regression in existing per-pair checks.
Test plan — backlog from earlier PRs
Audit of all closed/merged PRs surfaced these still-open Aruba verifications. Each maps to an explicit unticked [ ] item or a stated "needs Aruba" deferral with no follow-up tick visible in the PR conversation.
- PR Migrate to Universal Crossplane v2 and drop the claim layer #6 (Migrate to Universal Crossplane v2 and drop the claim layer) — Remote validation on the ArubaCloud cluster; explicitly flagged "pending; Platform-related Objects expected to stay
Synced=False— known manual step on Aruba". - PR feat: pin Aruba images via tag-driven release process #22 (feat: pin Aruba images via tag-driven release process) — After bumping to a real release tag, confirm Aruba converged:
kubectl -n docs get deploy docs -o jsonpath='{.spec.template.spec.containers[*].image}'prints the pinned tags. - PR refactor: rename XVCluster XR to XDeveloperEnvironment #24 (refactor: rename XVCluster XR to XDeveloperEnvironment) — Run the documented delete-XRs → strip-finalizers → delete-XRD → re-sync migration on the live cluster; confirm participants are still routable at
/team/<pair>/and visible in the Loft Platform after re-creation. - PR fix(verify): smoke-test inner vcluster via kubeconfig secret + port-forward #26 (fix(verify): smoke-test inner vcluster via kubeconfig secret + port-forward) + PR chore(verify): make verify:all delegate to per-pair tasks via MODE #30 (chore(verify): make verify:all delegate to per-pair tasks via MODE) — On Aruba after
vcluster platform login, runtask verify:pair:platform PAIR=fancy-lemonandtask verify:all MODE=platformand confirm both pass. - PR chore(taskfile): add bootstrap:repo-credentials-aruba #28 (chore(taskfile): add bootstrap:repo-credentials-aruba) — Run
task bootstrap:repo-credentials-arubaend-to-end against the Aruba kubeconfig; verify the deploy-key rotates and ArgoCD repo auth still works. - PR fix(taskfile): repair platform:register-vclusters access-key bootstrap #31 (fix(taskfile): repair platform:register-vclusters access-key bootstrap) — On Aruba, generate a Platform access key, run
PLATFORM_ACCESS_KEY=<key> task platform:register-vclusters, then confirmtask verify:pair:platform PAIR=fancy-lemonsucceeds. This is the unblocking step fix(verify): smoke-test inner vcluster via kubeconfig secret + port-forward #26 / chore(verify): make verify:all delegate to per-pair tasks via MODE #30 are waiting on. - PR feat(taskfile): add vcluster:connect and platform:ui tasks #36 (feat(taskfile): add vcluster:connect and platform:ui tasks) — Re-test
task vcluster:connect PAIR=fancy-lemonandtask platform:uion Aruba, wherebootstrap:vcluster-platformruns against the real LE cert.
Out of scope
- Per-pair
pair-<id>-*repo isolation enforcement beyond the naming convention — explicitly rejected during Create Github account and add module for Github provider setup #45 design. - Per-session repo cleanup task (
task github:cleanup) — convention-only is fine for v1. - Validator-side org-read token plumbing for a
pair-repo-createdcheck — only if we want a richer dashboard signal.
Refs: PR #69, closes #45 once the PR test plan above lands. The backlog items remain open until each is ticked.
Activity
ricCap commentedon Oct 25, 2026
task verify:all MODE=platformpasses on Aruba as of today's 2-pair smoketest (bold-kiwi,merry-cherry):That closes the three items this issue has carried since PR #26 — the PR #26/#30 verification and the PR #31 access-key bootstrap it was waiting on. The full participant chain is now proven end to end: public Envoy Gateway hostname → Let's Encrypt cert → Loft auth proxy → per-pair access policy → inner apiserver.
Done on the upgraded stack from #233: vcluster
0.37.4, provider-helmv1.5.0composing the per-pair Release, Platform4.12.4, Envoy Gatewayv1.9.2, cert-managerv1.21.3, UXP2.4.3-up.1.Getting there needed one real fix, #235: the vcluster syncer could not reach Platform to initialise its license. That was not the hairpin NAT it looked like — the Envoy Service's
externalTrafficPolicy: Localplus a single Envoy replica meant only Pods co-located with Envoy could reach the external IP, which was invisible on the original single-node cluster. Envoy now runs as a DaemonSet.Still open here, and not verified by this run:
provider-githubtest plan.task github:registerhas not been run on this cluster —github-app-credentialsis absent from both participant namespaces, so module 06 is untouched. The ticked items at the top of this issue were from the earlier session and stand; everything under "Walk module 03-provider-github.mdx end-to-end" remains unverified on Aruba.provider-github-installedvalidator tile.task verify:all MODE=localas a no-regression check.Separately confirmed working in this run:
task platform:register-vclusters(syncer credential landed in both namespaces, bothVirtualClusterInstances reachedReady), andtask workshop:enable-arubaonce its preconditions were met — the Aruba bundle synced withprovider-arubacloud:v0.5.0-workshopINSTALLED=True HEALTHY=True, Kyverno3.9.2with all 14 ClusterPolicies, andaruba-credsmirrored intoaruba-system. Kyverno enforcement was confirmed with a deliberate denial, not just a green path.New issues raised from this run: #236 (DBaaS shape policy guards the wrong kind), #237 (
enable-arubapreconditions and false-negative sync wait), #238 (ArgoCD not seeing fresh per-pair Cluster Secrets), #239 (Aruba volume wedging and retained volumes).