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

View File

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