41 lines
No EOL
978 B
YAML
41 lines
No EOL
978 B
YAML
#apiVersion: traefik.containo.us/v1alpha1
|
|
#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:
|
|
name: traefik-dashboard-ingress
|
|
namespace: traefik
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
spec:
|
|
rules:
|
|
- host: "k3st.***REMOVED***"
|
|
http:
|
|
paths:
|
|
- path: /dashboard
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: traefik
|
|
port:
|
|
number: 9000 |