the middle of the idiots
This commit is contained in:
		
							
								
								
									
										27
									
								
								qwen/python/k8s/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								qwen/python/k8s/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
# Kubernetes Ingress for the MerchantsOfHope application
 | 
			
		||||
apiVersion: networking.k8s.io/v1
 | 
			
		||||
kind: Ingress
 | 
			
		||||
metadata:
 | 
			
		||||
  name: merchants-of-hope-ingress
 | 
			
		||||
  annotations:
 | 
			
		||||
    # Use specific ingress controller annotations as needed (nginx, traefik, etc.)
 | 
			
		||||
    kubernetes.io/ingress.class: "nginx"
 | 
			
		||||
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
 | 
			
		||||
    nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
 | 
			
		||||
    cert-manager.io/cluster-issuer: "letsencrypt-prod"  # If using cert-manager
 | 
			
		||||
spec:
 | 
			
		||||
  tls:
 | 
			
		||||
  - hosts:
 | 
			
		||||
    - merchants-of-hope.org
 | 
			
		||||
    secretName: merchants-of-hope-tls
 | 
			
		||||
  rules:
 | 
			
		||||
  - host: merchants-of-hope.org
 | 
			
		||||
    http:
 | 
			
		||||
      paths:
 | 
			
		||||
      - path: /
 | 
			
		||||
        pathType: Prefix
 | 
			
		||||
        backend:
 | 
			
		||||
          service:
 | 
			
		||||
            name: merchants-of-hope-service
 | 
			
		||||
            port:
 | 
			
		||||
              number: 80
 | 
			
		||||
		Reference in New Issue
	
	Block a user