traefik: define cluster ingress class
This commit is contained in:
parent
816d0cca65
commit
7619bba5d9
9
infrastructure/traefik/ingressclass.yaml
Normal file
9
infrastructure/traefik/ingressclass.yaml
Normal 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
|
||||
@ -6,6 +6,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
resources:
|
||||
- crds.yaml
|
||||
- ingressclass.yaml
|
||||
- deployment.yaml
|
||||
- serviceaccount.yaml
|
||||
- clusterrole.yaml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user