Fix resources isues 7

This commit is contained in:
2026-01-22 11:41:08 +01:00
parent 56d4aec5c4
commit 6aa3e9424b
3 changed files with 14 additions and 8 deletions

View File

@@ -1150,6 +1150,13 @@ helm upgrade --install mailu mailu/mailu \
# Wait for Mailu to be ready (may take 5-10 minutes) # Wait for Mailu to be ready (may take 5-10 minutes)
kubectl wait --for=condition=available --timeout=600s deployment/mailu-front -n bakery-ia kubectl wait --for=condition=available --timeout=600s deployment/mailu-front -n bakery-ia
# Deploy the Mailu ingress for mail.bakewise.ai
# Note: Use prod/mailu-ingress.yaml for production, dev/mailu-ingress.yaml for development
kubectl apply -f infrastructure/platform/mail/mailu-helm/prod/mailu-ingress.yaml
# Verify Mailu ingress is created
kubectl get ingress mailu-ingress -n bakery-ia
# Verify Mailu pods are running # Verify Mailu pods are running
kubectl get pods -n bakery-ia | grep mailu kubectl get pods -n bakery-ia | grep mailu

View File

@@ -148,15 +148,14 @@ securityContext:
fsGroup: 1000 fsGroup: 1000
# Network policies for production # Network policies for production
# Note: MicroK8s uses 'ingress' namespace, not 'ingress-nginx'
networkPolicy: networkPolicy:
enabled: true enabled: true
ingressController: ingressController:
namespace: ingress-nginx namespace: ingress
podSelector: | podSelector: |
matchLabels: matchLabels:
app.kubernetes.io/name: ingress-nginx name: nginx-ingress-microk8s
app.kubernetes.io/instance: ingress-nginx
app.kubernetes.io/component: controller
monitoring: monitoring:
namespace: monitoring namespace: monitoring
podSelector: | podSelector: |

View File

@@ -218,15 +218,15 @@ rspamd:
memory: 1Gi memory: 1Gi
# Network Policy # Network Policy
# Note: MicroK8s uses 'ingress' namespace with different labels
# For standard nginx-ingress, use namespace: ingress-nginx
networkPolicy: networkPolicy:
enabled: true enabled: true
ingressController: ingressController:
namespace: ingress-nginx namespace: ingress
podSelector: | podSelector: |
matchLabels: matchLabels:
app.kubernetes.io/name: ingress-nginx name: nginx-ingress-microk8s
app.kubernetes.io/instance: ingress-nginx
app.kubernetes.io/component: controller
# DNS Policy Configuration # DNS Policy Configuration
# Use Kubernetes DNS (ClusterFirst) for internal service resolution # Use Kubernetes DNS (ClusterFirst) for internal service resolution