fix cnpg syncing issues
This commit is contained in:
		| @@ -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" | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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 | ||||||
		Reference in New Issue
	
	Block a user