c1 (Fix): httpbin cluster-local - sparse root checkout never contained generic-templates #1758
No reviewers
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters!1758
Loading…
Reference in a new issue
No description provided.
Delete branch "c1-httpbin-cluster-local"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found live: #1756 httpbin KS pointed at ./generic-templates/httpbin, but c1 (and test) flux-system GitRepository sparse-checkouts only /clusters/c1/ - the path does not exist in the artifact, KS stuck False, httpbin-routes behind it. c1 apps are cluster-local by design (each folder carries its own HelmRepository; generic-templates references in c1 are comments only).
Fix: namespace, HelmRepository (matheusfm charts), HelmRelease (same values/chart as mini, retries kept for gate hr-retries), the egress allow-list CNP and the existing routes now live in clusters/c1/internal-apps/httpbin/ behind one merged KS (wait, retryInterval; httpbin-routes wrapper retired, its dependsOn folded in). mini keeps using generic-templates/httpbin untouched.
Also adds gate rule ks-path-in-tree: every Kustomization sourced from the cluster flux-system GitRepository must read clusters// only - the tree test builds KS paths against the full working tree and was blind to the sparse artifact (that is how #1756 passed the gate). Negative-tested: tampering the rendered path fails the gate. Gate green: c1 47 objects / 31 KS, no FAIL.