I'm stumped
This commit is contained in:
parent
4c28ebea46
commit
f1d75d667a
|
@ -1,20 +1,40 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
#apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: IngressRoute
|
#kind: IngressRoute
|
||||||
|
#metadata:
|
||||||
|
# name: traefik-dashboard
|
||||||
|
# namespace: traefik
|
||||||
|
#spec:
|
||||||
|
# entryPoints:
|
||||||
|
# - websecure
|
||||||
|
# - traefik
|
||||||
|
# routes:
|
||||||
|
# - kind: Rule
|
||||||
|
# match: Host(`k3st.***REMOVED***`) && (PathPrefix(`/dashboard/`) || PathPrefix(`/api`))
|
||||||
|
# priority: 10
|
||||||
|
# services:
|
||||||
|
# - kind: Service
|
||||||
|
# name: traefik-helm
|
||||||
|
# namespace: traefik
|
||||||
|
# passHostHeader: true
|
||||||
|
# port: 9000
|
||||||
|
# weight: 10
|
||||||
|
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik-dashboard
|
name: traefik-dashboard-ingress
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
|
annotations:
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
rules:
|
||||||
- websecure
|
- host: "k3st.***REMOVED***"
|
||||||
- traefik
|
http:
|
||||||
routes:
|
paths:
|
||||||
- kind: Rule
|
- path: /dashboard
|
||||||
match: Host(`k3st.***REMOVED***`)
|
pathType: Prefix
|
||||||
priority: 10
|
backend:
|
||||||
services:
|
service:
|
||||||
- kind: Service
|
name: traefik-helm
|
||||||
name: traefik-helm
|
port:
|
||||||
namespace: traefik
|
number: 9000
|
||||||
passHostHeader: true
|
|
||||||
port: 9000
|
|
||||||
weight: 10
|
|
Loading…
Reference in New Issue