From 54a0a77ed59fb72cdc0f6e7024d0548e6b402709 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Mon, 8 Sep 2025 09:44:15 -0700 Subject: [PATCH] feat: add explicit namespace resource to production Kubernetes overlay - Add namespace.yaml to production overlay resources - Ensure proper namespace creation in production deployments - Improve Kubernetes resource management and isolation --- k8s-kustomize/overlays/prod/kustomization.yaml | 1 + k8s-kustomize/overlays/prod/namespace.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 k8s-kustomize/overlays/prod/namespace.yaml diff --git a/k8s-kustomize/overlays/prod/kustomization.yaml b/k8s-kustomize/overlays/prod/kustomization.yaml index 6fe927f..7498e7b 100644 --- a/k8s-kustomize/overlays/prod/kustomization.yaml +++ b/k8s-kustomize/overlays/prod/kustomization.yaml @@ -7,6 +7,7 @@ metadata: # Reference the base configuration resources: - ../../base + - namespace.yaml # Override namespace for production namespace: rxminder-prod diff --git a/k8s-kustomize/overlays/prod/namespace.yaml b/k8s-kustomize/overlays/prod/namespace.yaml new file mode 100644 index 0000000..355be94 --- /dev/null +++ b/k8s-kustomize/overlays/prod/namespace.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: rxminder-prod + labels: + app: rxminder + environment: production + tier: prod + version: v1.0.0