Files
dancefinder-app/k8s/ingress-local.yaml
argoyle ebd6dda96f feat(ingress): update ingress configuration for alb
Changes the ingress class annotation to the new format and 
adds the ingressClassName field to specify the ALB ingress 
class. This improves compatibility with Kubernetes and aligns 
the configuration with the latest best practices.
2025-04-08 11:14:48 +02:00

20 lines
411 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: dancefinder-app-ingress
annotations:
ingress.kubernetes.io/enable-cors: "true"
spec:
ingressClassName: "nginx"
rules:
- host: "local-dancefinder.unbound.se"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: dancefinder-app
port:
number: 80