Skip to content

Verify provider-github module + bootstrap on Aruba cluster #73

Open

Description

@ricCap

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:register runs cleanly on the Aruba management cluster with GITHUB_APP_ID=3530745, GITHUB_APP_INSTALLATION_ID=127778039, GITHUB_APP_PEM_FILE=…. Secret named github-app-credentials appears in every participant-* namespace.
  • Re-running task github:register is 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 on fancy-lemon:
    kubectl --kubeconfig <vc-fancy-lemon> -n crossplane-system get secret github-app-credentials
    Should show DATA=1 with the same credentials key.
  • Walk module docs/docs/06-crossplane-3xx/03-provider-github.mdx end-to-end against fancy-lemon:
    • Provider/provider-github reaches INSTALLED=True, HEALTHY=True.
    • ProviderConfig/default (group github.upbound.io/v1beta1) accepted.
    • Repository/pair-fancy-lemon-hello reaches READY=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-installed validator tile renders green on the workshop dashboard for the test pair.
  • task verify:all MODE=local still 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.

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-created check — 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

  1. ricCap commented on Oct 25, 2026

    @ricCap
    OwnerAuthor

    task verify:all MODE=platform passes on Aruba as of today's 2-pair smoketest (bold-kiwi, merry-cherry):

    Verify: OK (2 pair(s), MODE=platform)
    

    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-helm v1.5.0 composing the per-pair Release, Platform 4.12.4, Envoy Gateway v1.9.2, cert-manager v1.21.3, UXP 2.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: Local plus 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:

    • The provider-github test plan. task github:register has not been run on this cluster — github-app-credentials is 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.
    • The provider-github-installed validator tile.
    • task verify:all MODE=local as a no-regression check.

    Separately confirmed working in this run: task platform:register-vclusters (syncer credential landed in both namespaces, both VirtualClusterInstances reached Ready), and task workshop:enable-aruba once its preconditions were met — the Aruba bundle synced with provider-arubacloud:v0.5.0-workshop INSTALLED=True HEALTHY=True, Kyverno 3.9.2 with all 14 ClusterPolicies, and aruba-creds mirrored into aruba-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-aruba preconditions and false-negative sync wait), #238 (ArgoCD not seeing fresh per-pair Cluster Secrets), #239 (Aruba volume wedging and retained volumes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions