with traefik
This commit is contained in:
parent
871e33a65b
commit
3c7194fa3c
15
clank/clusters/platform/traefik/traefik.yaml
Normal file
15
clank/clusters/platform/traefik/traefik.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: traefik
|
||||||
|
namespace: platform
|
||||||
|
spec:
|
||||||
|
interval: 30m0s
|
||||||
|
retryInterval: 30s
|
||||||
|
path: ./clank/platform/traefik
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: traefik
|
||||||
|
namespace: flux-system
|
16
clank/platform/traefik/ingress.yaml
Normal file
16
clank/platform/traefik/ingress.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: traefik-dashboard
|
||||||
|
namespace: traefik-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
|
Loading…
Reference in New Issue
Block a user