fix cnpg syncing issues

This commit is contained in:
Remy Moll 2024-04-10 14:01:57 +02:00
parent bf6e7aa10c
commit e144722d59
2 changed files with 4 additions and 5 deletions

View File

@ -6,7 +6,7 @@ spec:
entryPoints:
- websecure
routes:
- match: Host(`home.kluster.moll.re`)
- match: Host(`home.kluster.moll.re`) && !Path(`/api/prometheus`)
middlewares:
- name: homeassistant-websocket
kind: Rule
@ -15,7 +15,6 @@ spec:
port: 8123
tls:
certResolver: default-tls
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
@ -27,6 +26,3 @@ spec:
X-Forwarded-Proto: "https"
# enable websockets
Upgrade: "websocket"

View File

@ -17,3 +17,6 @@ spec:
automated:
prune: true
selfHeal: true
syncOptions:
- Replace=true
# because the crds exceed the default 256Ki limit