mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
ingress middleware?
This commit is contained in:
@@ -124,9 +124,9 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
className: traefik
|
className: traefik
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
annotations: {}
|
annotations:
|
||||||
# kubernetes.io/ingress.class: nginx
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
# kubernetes.io/tls-acme: "true"
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
||||||
hosts:
|
hosts:
|
||||||
- host: podinfo.michaelthomson.dev
|
- host: podinfo.michaelthomson.dev
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -174,8 +174,7 @@ spec:
|
|||||||
# /!\ Do not expose your dashboard without any protection over the internet /!\
|
# /!\ Do not expose your dashboard without any protection over the internet /!\
|
||||||
entryPoints: ["traefik"]
|
entryPoints: ["traefik"]
|
||||||
# -- Additional ingressRoute middlewares (e.g. for authentication)
|
# -- Additional ingressRoute middlewares (e.g. for authentication)
|
||||||
middlewares:
|
middlewares: []
|
||||||
- traefik-authentik@kubernetescrd
|
|
||||||
# -- TLS options (e.g. secret containing certificate)
|
# -- TLS options (e.g. secret containing certificate)
|
||||||
tls: {}
|
tls: {}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -734,8 +733,7 @@ spec:
|
|||||||
# middlewares:
|
# middlewares:
|
||||||
# - namespace-name1@kubernetescrd
|
# - namespace-name1@kubernetescrd
|
||||||
# - namespace-name2@kubernetescrd
|
# - namespace-name2@kubernetescrd
|
||||||
middlewares:
|
middlewares: []
|
||||||
- traefik-authentik@kubernetescrd
|
|
||||||
metrics:
|
metrics:
|
||||||
# -- When using hostNetwork, use another port to avoid conflict with node exporter:
|
# -- When using hostNetwork, use another port to avoid conflict with node exporter:
|
||||||
# https://github.com/prometheus/prometheus/wiki/Default-port-allocations
|
# https://github.com/prometheus/prometheus/wiki/Default-port-allocations
|
||||||
|
|||||||
Reference in New Issue
Block a user