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.
This commit is contained in:
@@ -3,9 +3,9 @@ kind: Ingress
|
||||
metadata:
|
||||
name: dancefinder-app-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
ingress.kubernetes.io/enable-cors: "true"
|
||||
spec:
|
||||
ingressClassName: "nginx"
|
||||
rules:
|
||||
- host: "local-dancefinder.unbound.se"
|
||||
http:
|
||||
|
||||
@@ -3,13 +3,14 @@ kind: Ingress
|
||||
metadata:
|
||||
name: dancefinder-app-ingress
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "alb"
|
||||
alb.ingress.kubernetes.io/group.name: "default"
|
||||
alb.ingress.kubernetes.io/group.order: "101"
|
||||
alb.ingress.kubernetes.io/scheme: internet-facing
|
||||
alb.ingress.kubernetes.io/target-type: instance
|
||||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
|
||||
alb.ingress.kubernetes.io/ssl-redirect: "443"
|
||||
spec:
|
||||
ingressClassName: "alb"
|
||||
rules:
|
||||
- host: "dancefinder.unbound.se"
|
||||
http:
|
||||
|
||||
Reference in New Issue
Block a user