Add traefik ingress
This commit is contained in:
parent
1c141714a3
commit
c585e7497d
17
infrastructure/traefik/ingress.yaml
Normal file
17
infrastructure/traefik/ingress.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: traefik-dashboard
|
||||
namespace: kube-system
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`traefik.kjuulh.app`) # Hostname to match
|
||||
kind: Rule
|
||||
services: # Service to redirect requests to
|
||||
- name: api@internal # Special service created by Traefik pod
|
||||
kind: TraefikService
|
||||
tls:
|
||||
secretName: clank-cert
|
@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helmconfig.yaml
|
||||
- ingress.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user