traefik: define cluster ingress class

This commit is contained in:
Brad Stein 2026-04-06 02:00:22 -03:00
parent 816d0cca65
commit 7619bba5d9
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -6,6 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
resources: resources:
- crds.yaml - crds.yaml
- ingressclass.yaml
- deployment.yaml - deployment.yaml
- serviceaccount.yaml - serviceaccount.yaml
- clusterrole.yaml - clusterrole.yaml