Add new infra architecture
This commit is contained in:
@@ -22,22 +22,22 @@ echo ""
|
||||
|
||||
# ===== 1. Apply Secrets =====
|
||||
echo "Step 1: Applying updated secrets..."
|
||||
kubectl apply -f infrastructure/kubernetes/base/secrets.yaml
|
||||
kubectl apply -f infrastructure/kubernetes/base/secrets/postgres-tls-secret.yaml
|
||||
kubectl apply -f infrastructure/kubernetes/base/secrets/redis-tls-secret.yaml
|
||||
kubectl apply -f infrastructure/environments/dev/k8s-manifests/base/secrets.yaml
|
||||
kubectl apply -f infrastructure/environments/dev/k8s-manifests/base/secrets/postgres-tls-secret.yaml
|
||||
kubectl apply -f infrastructure/environments/dev/k8s-manifests/base/secrets/redis-tls-secret.yaml
|
||||
echo "✓ Secrets applied"
|
||||
echo ""
|
||||
|
||||
# ===== 2. Apply ConfigMaps =====
|
||||
echo "Step 2: Applying ConfigMaps..."
|
||||
kubectl apply -f infrastructure/kubernetes/base/configs/postgres-init-config.yaml
|
||||
kubectl apply -f infrastructure/kubernetes/base/configmaps/postgres-logging-config.yaml
|
||||
kubectl apply -f infrastructure/environments/dev/k8s-manifests/base/configs/postgres-init-config.yaml
|
||||
kubectl apply -f infrastructure/environments/dev/k8s-manifests/base/configmaps/postgres-logging-config.yaml
|
||||
echo "✓ ConfigMaps applied"
|
||||
echo ""
|
||||
|
||||
# ===== 3. Apply Database Deployments =====
|
||||
echo "Step 3: Applying database deployments..."
|
||||
kubectl apply -f infrastructure/kubernetes/base/components/databases/
|
||||
kubectl apply -f infrastructure/services/databases/
|
||||
echo "✓ Database deployments applied"
|
||||
echo ""
|
||||
|
||||
@@ -164,5 +164,5 @@ echo ""
|
||||
echo "To enable Kubernetes secrets encryption (requires cluster recreate):"
|
||||
echo " kind delete cluster --name bakery-ia-local"
|
||||
echo " kind create cluster --config kind-config.yaml"
|
||||
echo " kubectl apply -f infrastructure/kubernetes/base/namespace.yaml"
|
||||
echo " kubectl apply -f infrastructure/environments/dev/k8s-manifests/base/namespace.yaml"
|
||||
echo " ./scripts/apply-security-changes.sh"
|
||||
|
||||
Reference in New Issue
Block a user