From a48486912b42cce8a01cbc23bc9c63aafdb04cc7 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Thu, 1 Jan 2026 13:03:43 -0300 Subject: [PATCH] comms: create namespace via Flux --- .../applications/comms/kustomization.yaml | 15 +++++++++++++++ .../flux-system/applications/kustomization.yaml | 1 + services/comms/kustomization.yaml | 5 +++++ .../namespace-comms.yaml => comms/namespace.yaml} | 2 +- 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 clusters/atlas/flux-system/applications/comms/kustomization.yaml create mode 100644 services/comms/kustomization.yaml rename services/{communication/namespace-comms.yaml => comms/namespace.yaml} (54%) diff --git a/clusters/atlas/flux-system/applications/comms/kustomization.yaml b/clusters/atlas/flux-system/applications/comms/kustomization.yaml new file mode 100644 index 0000000..42dc736 --- /dev/null +++ b/clusters/atlas/flux-system/applications/comms/kustomization.yaml @@ -0,0 +1,15 @@ +# clusters/atlas/flux-system/applications/comms/kustomization.yaml +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: comms + namespace: flux-system +spec: + interval: 10m + prune: true + sourceRef: + kind: GitRepository + name: flux-system + path: ./services/comms + targetNamespace: comms + timeout: 2m diff --git a/clusters/atlas/flux-system/applications/kustomization.yaml b/clusters/atlas/flux-system/applications/kustomization.yaml index 6cd5281..37d7699 100644 --- a/clusters/atlas/flux-system/applications/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/kustomization.yaml @@ -4,6 +4,7 @@ kind: Kustomization resources: - gitea/kustomization.yaml - vault/kustomization.yaml + - comms/kustomization.yaml - communication/kustomization.yaml - crypto/kustomization.yaml - monerod/kustomization.yaml diff --git a/services/comms/kustomization.yaml b/services/comms/kustomization.yaml new file mode 100644 index 0000000..393be76 --- /dev/null +++ b/services/comms/kustomization.yaml @@ -0,0 +1,5 @@ +# services/comms/kustomization.yaml +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - namespace.yaml diff --git a/services/communication/namespace-comms.yaml b/services/comms/namespace.yaml similarity index 54% rename from services/communication/namespace-comms.yaml rename to services/comms/namespace.yaml index d037ea6..9d44af2 100644 --- a/services/communication/namespace-comms.yaml +++ b/services/comms/namespace.yaml @@ -1,4 +1,4 @@ -# services/communication/namespace-comms.yaml +# services/comms/namespace.yaml apiVersion: v1 kind: Namespace metadata: