From 08042317a57be7cc95e1bf62a0d874632534c962 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Thu, 5 Dec 2024 19:04:32 +0100 Subject: [PATCH] feat(ingress): Move to nginx --- manifests/ingress.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/manifests/ingress.yaml b/manifests/ingress.yaml index 84fd7d3..a0f811c 100644 --- a/manifests/ingress.yaml +++ b/manifests/ingress.yaml @@ -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