From db51369933e1ec920d44c21213cd63807b9fd538 Mon Sep 17 00:00:00 2001 From: justgithubaccount Date: Sat, 6 Dec 2025 08:47:07 +0300 Subject: [PATCH 1/2] feat(core): add namespace manifests for chat-api and open-webui MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add explicit Namespace resources with sync-wave: -1 to ensure namespaces are created before dependent resources. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- platform/core/namespaces/chat-api.yaml | 6 ++++++ platform/core/namespaces/kustomization.yaml | 5 +++++ platform/core/namespaces/open-webui.yaml | 6 ++++++ 3 files changed, 17 insertions(+) create mode 100644 platform/core/namespaces/chat-api.yaml create mode 100644 platform/core/namespaces/kustomization.yaml create mode 100644 platform/core/namespaces/open-webui.yaml diff --git a/platform/core/namespaces/chat-api.yaml b/platform/core/namespaces/chat-api.yaml new file mode 100644 index 0000000..a295f78 --- /dev/null +++ b/platform/core/namespaces/chat-api.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: chat-api + annotations: + argocd.argoproj.io/sync-wave: "-1" diff --git a/platform/core/namespaces/kustomization.yaml b/platform/core/namespaces/kustomization.yaml new file mode 100644 index 0000000..598ee20 --- /dev/null +++ b/platform/core/namespaces/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - chat-api.yaml + - open-webui.yaml diff --git a/platform/core/namespaces/open-webui.yaml b/platform/core/namespaces/open-webui.yaml new file mode 100644 index 0000000..3587643 --- /dev/null +++ b/platform/core/namespaces/open-webui.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: open-webui + annotations: + argocd.argoproj.io/sync-wave: "-1" From 680090cd330adf66cb53a1adf2d95f529faef3e1 Mon Sep 17 00:00:00 2001 From: justgithubaccount Date: Sat, 6 Dec 2025 08:50:07 +0300 Subject: [PATCH 2/2] feat(clusters): include namespaces in dev cluster kustomization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reference core namespaces as first resource to ensure they exist before any dependent resources are applied. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- clusters/dev/kustomization.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clusters/dev/kustomization.yaml b/clusters/dev/kustomization.yaml index 2602bf3..88b1584 100644 --- a/clusters/dev/kustomization.yaml +++ b/clusters/dev/kustomization.yaml @@ -4,6 +4,8 @@ kind: Kustomization # So let's prefix the app names with the cluster name (dev- | demo-worker1-) # namePrefix: dev- resources: + # Core - namespaces must be created first + - ../../platform/core/namespaces # Security - ../../platform/infrastructure/security/sealed-secrets/base - ../../platform/infrastructure/security/reflector/base