update
This commit is contained in:
@@ -44,17 +44,6 @@ spec:
|
|||||||
externalName: durp.info
|
externalName: durp.info
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: traefik-real-ip
|
|
||||||
spec:
|
|
||||||
plugin:
|
|
||||||
traefik-real-ip:
|
|
||||||
excludednets:
|
|
||||||
- "1.1.1.1/24"
|
|
||||||
---
|
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -32,3 +32,15 @@ spec:
|
|||||||
sourceRange:
|
sourceRange:
|
||||||
- 192.168.10.1/32
|
- 192.168.10.1/32
|
||||||
- 10.0.0.0/8
|
- 10.0.0.0/8
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: traefik-real-ip
|
||||||
|
spec:
|
||||||
|
plugin:
|
||||||
|
traefik-real-ip:
|
||||||
|
excludednets:
|
||||||
|
- "1.1.1.1/24"
|
||||||
|
|||||||
@@ -643,6 +643,7 @@ traefik:
|
|||||||
# - namespace-name1@kubernetescrd
|
# - namespace-name1@kubernetescrd
|
||||||
# - namespace-name2@kubernetescrd
|
# - namespace-name2@kubernetescrd
|
||||||
middlewares: []
|
middlewares: []
|
||||||
|
- traefik@traefik-real-ip
|
||||||
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