From ffef003a2b256bc3b0584aa2f9c04fe619b24c44 Mon Sep 17 00:00:00 2001 From: Suriya Date: Mon, 20 Jul 2026 10:55:47 +0530 Subject: [PATCH] Bring nearle stack and routing manifests under Flux management - manifests/core/kustomization.yaml: add ingress-unified.yaml and traefik-middlewares.yaml, which were never in any kustomization and so were never actually GitOps-managed - the queue.workolik.com routing fix from c38a367 turned out to be live already (likely applied manually before this session), but was completely undetected by Flux until now. Dropped the redundant top-level `namespace: core` override since every existing resource already sets its own namespace explicitly, and the two new files span alaska/nearle. - manifests/nearle/kustomization.yaml + clusters/production/apps-nearle.yaml: same GitOps treatment already applied to alaska/core, so a fiesta/jupiter/ atlantis/titan/ariane version bump in git now auto-deploys instead of requiring manual kubectl apply. Co-Authored-By: Claude Sonnet 5 --- clusters/production/apps-nearle.yaml | 14 ++++++++++++++ manifests/core/kustomization.yaml | 7 ++++++- manifests/nearle/kustomization.yaml | 17 +++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 clusters/production/apps-nearle.yaml create mode 100644 manifests/nearle/kustomization.yaml diff --git a/clusters/production/apps-nearle.yaml b/clusters/production/apps-nearle.yaml new file mode 100644 index 0000000..55bbeca --- /dev/null +++ b/clusters/production/apps-nearle.yaml @@ -0,0 +1,14 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: nearle + namespace: flux-system +spec: + interval: 10m + sourceRef: + kind: GitRepository + name: flux-system + path: ./manifests/nearle + prune: true + wait: true + timeout: 5m diff --git a/manifests/core/kustomization.yaml b/manifests/core/kustomization.yaml index 9afa51c..4efa8db 100644 --- a/manifests/core/kustomization.yaml +++ b/manifests/core/kustomization.yaml @@ -1,7 +1,10 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: core +# No top-level `namespace:` override - every resource below (including +# ingress-unified.yaml, which spans alaska and nearle) already sets its own +# metadata.namespace explicitly. A blanket override here would silently +# force cross-namespace resources into "core" and break their backend refs. resources: - core-namespace.yaml @@ -10,3 +13,5 @@ resources: - worker-script.yaml - workers.yaml - worker-pdb.yaml + - ingress-unified.yaml + - traefik-middlewares.yaml diff --git a/manifests/nearle/kustomization.yaml b/manifests/nearle/kustomization.yaml new file mode 100644 index 0000000..c25213e --- /dev/null +++ b/manifests/nearle/kustomization.yaml @@ -0,0 +1,17 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - nearle-namespace.yaml + - nearle-config.yaml + - nearle-secrets.yaml + - nearle-app-secrets.yaml + - fiesta-gateway.yaml + - nearle-fiesta.yaml + - nearle-jupiter.yaml + - jupiter-cors-proxy.yaml + - nearle-atlantis.yaml + - nearle-titan.yaml + - nearle-ariane.yaml + - nearle-gateway.yaml + - nearle-reference-grant.yaml