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
|
namespace: flux-system
|
||||||
resources:
|
resources:
|
||||||
- crds.yaml
|
- crds.yaml
|
||||||
|
- ingressclass.yaml
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- serviceaccount.yaml
|
- serviceaccount.yaml
|
||||||
- clusterrole.yaml
|
- clusterrole.yaml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user