Skip to content

Commit 326ebe6

Browse files
feat: add namespace manifests for automatic sync (#3)
* feat(core): add namespace manifests for chat-api and open-webui 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 <[email protected]> * feat(clusters): include namespaces in dev cluster kustomization 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 <[email protected]> --------- Co-authored-by: Claude <[email protected]>
1 parent 310caed commit 326ebe6

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

clusters/dev/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ kind: Kustomization
44
# So let's prefix the app names with the cluster name (dev- | demo-worker1-)
55
# namePrefix: dev-
66
resources:
7+
# Core - namespaces must be created first
8+
- ../../platform/core/namespaces
79
# Security
810
- ../../platform/infrastructure/security/sealed-secrets/base
911
- ../../platform/infrastructure/security/reflector/base
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: chat-api
5+
annotations:
6+
argocd.argoproj.io/sync-wave: "-1"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- chat-api.yaml
5+
- open-webui.yaml
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: open-webui
5+
annotations:
6+
argocd.argoproj.io/sync-wave: "-1"

0 commit comments

Comments
 (0)