fix middleware name 2
This commit is contained in:
parent
fd0990374d
commit
6ef31ff98a
|
@ -4,7 +4,7 @@ metadata:
|
||||||
name: umami
|
name: umami
|
||||||
namespace: olympus
|
namespace: olympus
|
||||||
annotations:
|
annotations:
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: olympus-umami-replace-js@kubernetescrd
|
traefik.ingress.kubernetes.io/router.middlewares: olympus-umamijs@kubernetescrd
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: "analytics.0x76.dev"
|
- host: "analytics.0x76.dev"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
metadata:
|
metadata:
|
||||||
name: umami-replace-js
|
name: umamijs
|
||||||
namespace: networking
|
namespace: olympus
|
||||||
spec:
|
spec:
|
||||||
replacePathRegex:
|
replacePathRegex:
|
||||||
regex: ^/script\.js
|
regex: ^/script\.js
|
||||||
|
|
Loading…
Reference in a new issue