2023-04-03 02:10:26 +00:00
|
|
|
#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
|
2023-04-03 01:11:51 +00:00
|
|
|
metadata:
|
2023-04-03 02:10:26 +00:00
|
|
|
name: traefik-dashboard-ingress
|
2023-04-03 01:11:51 +00:00
|
|
|
namespace: traefik
|
2023-04-03 02:10:26 +00:00
|
|
|
annotations:
|
2023-04-05 02:42:19 +00:00
|
|
|
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
2023-04-03 02:10:26 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
2023-04-03 01:11:51 +00:00
|
|
|
spec:
|
2023-04-03 02:10:26 +00:00
|
|
|
rules:
|
|
|
|
- host: "k3st.***REMOVED***"
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /dashboard
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
2023-04-05 02:42:19 +00:00
|
|
|
name: traefik
|
2023-04-03 02:10:26 +00:00
|
|
|
port:
|
|
|
|
number: 9000
|