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
This commit is contained in:
@@ -7,6 +7,7 @@ metadata:
|
|||||||
# Reference the base configuration
|
# Reference the base configuration
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
- namespace.yaml
|
||||||
|
|
||||||
# Override namespace for production
|
# Override namespace for production
|
||||||
namespace: rxminder-prod
|
namespace: rxminder-prod
|
||||||
|
|||||||
9
k8s-kustomize/overlays/prod/namespace.yaml
Normal file
9
k8s-kustomize/overlays/prod/namespace.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: rxminder-prod
|
||||||
|
labels:
|
||||||
|
app: rxminder
|
||||||
|
environment: production
|
||||||
|
tier: prod
|
||||||
|
version: v1.0.0
|
||||||
Reference in New Issue
Block a user