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 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"