k3s-cluster/cluster/apps/traefik/dashboard-ingress.yaml

51 lines
1.3 KiB
YAML
Raw Normal View History

---
2023-04-03 01:50:26 +00:00
#apiVersion: networking.k8s.io/v1
#kind: Ingress
#metadata:
# name: traefik-dashboard
# namespace: traefik
# annotations:
## cert-manager.io/cluster-issuer: "letsencrypt-production"
## hajimari.io/appName: "traefik"
## hajimari.io/enable: "true"
## hajimari.io/icon: "web"
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
## traefik.ingress.kubernetes.io/router.middlewares: "networking-traefik-forward-auth@kubernetescrd"
#spec:
## ingressClassName: "traefik"
## tls:
## - hosts:
## - "traefik.${SECRET_DOMAIN}"
## secretName: "traefik-dashboard-tls"
# rules:
# - host: "k3st.***REMOVED***"
# http:
# paths:
# - path: /dashboard
# pathType: Prefix
# backend:
# service:
# name: traefik
# port:
# number: 9000
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2023-04-03 01:50:26 +00:00
name: traefik-dashboard-ingress
namespace: traefik
annotations:
2023-04-03 01:50:26 +00:00
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