From 7619bba5d95fdad0c60882877a89cd15d996e074 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Mon, 6 Apr 2026 02:00:22 -0300 Subject: [PATCH] traefik: define cluster ingress class --- infrastructure/traefik/ingressclass.yaml | 9 +++++++++ infrastructure/traefik/kustomization.yaml | 1 + 2 files changed, 10 insertions(+) create mode 100644 infrastructure/traefik/ingressclass.yaml diff --git a/infrastructure/traefik/ingressclass.yaml b/infrastructure/traefik/ingressclass.yaml new file mode 100644 index 00000000..2a32a262 --- /dev/null +++ b/infrastructure/traefik/ingressclass.yaml @@ -0,0 +1,9 @@ +# infrastructure/traefik/ingressclass.yaml +apiVersion: networking.k8s.io/v1 +kind: IngressClass +metadata: + name: traefik + annotations: + ingressclass.kubernetes.io/is-default-class: "true" +spec: + controller: traefik.io/ingress-controller diff --git a/infrastructure/traefik/kustomization.yaml b/infrastructure/traefik/kustomization.yaml index 6abf4853..19170d11 100644 --- a/infrastructure/traefik/kustomization.yaml +++ b/infrastructure/traefik/kustomization.yaml @@ -6,6 +6,7 @@ metadata: namespace: flux-system resources: - crds.yaml + - ingressclass.yaml - deployment.yaml - serviceaccount.yaml - clusterrole.yaml