feat(ingress): Move to nginx

This commit is contained in:
Tanguy Herbron 2024-12-05 19:04:32 +01:00
parent 2fb09b447a
commit 08042317a5

View File

@ -1,18 +1,18 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: headlamp
namespace: headlamp
annotations:
kubernetes.io/ingress.class: "traefik-inter"
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`headlamp.entos`)
services:
- name: headlamp-svc
port: 80
tls:
certResolver: default
ingressClassName: nginx-internal
rules:
- host: headlamp.entos
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: headlamp-svc
port:
number: 80