20 lines
519 B
YAML
20 lines
519 B
YAML
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: plausible-external
|
|
labels:
|
|
app.kubernetes.io/instance: plausible
|
|
app.kubernetes.io/name: plausible
|
|
spec:
|
|
entryPoints:
|
|
- web
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`analytics.arcodange.fr`) && (PathPrefix(`/api/event`) || PathPrefix(`/js/`))
|
|
middlewares:
|
|
- name: kube-system-crowdsec@kubernetescrd
|
|
services:
|
|
- kind: Service
|
|
name: plausible-web
|
|
namespace: tools
|
|
port: 8000 |