Add traefik ingress

This commit is contained in:
Kasper Juul Hermansen 2022-06-04 15:41:02 +02:00
parent 1c141714a3
commit c585e7497d
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 18 additions and 0 deletions

View 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

View File

@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helmconfig.yaml
- ingress.yaml