Completely rewrite the traefik ingress
This commit is contained in:
parent
540778c368
commit
d4ae2055a7
|
@ -1,22 +1,43 @@
|
||||||
---
|
---
|
||||||
|
#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
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: traefik-dashboard
|
name: traefik-dashboard-ingress
|
||||||
namespace: traefik
|
namespace: traefik
|
||||||
annotations:
|
annotations:
|
||||||
# cert-manager.io/cluster-issuer: "letsencrypt-production"
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
# 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:
|
spec:
|
||||||
# ingressClassName: "traefik"
|
|
||||||
# tls:
|
|
||||||
# - hosts:
|
|
||||||
# - "traefik.${SECRET_DOMAIN}"
|
|
||||||
# secretName: "traefik-dashboard-tls"
|
|
||||||
rules:
|
rules:
|
||||||
- host: "k3st.***REMOVED***"
|
- host: "k3st.***REMOVED***"
|
||||||
http:
|
http:
|
||||||
|
|
Loading…
Reference in New Issue