From 7f91e3425250e3e8485b2ecf500a0894191be6a9 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Fri, 4 Sep 2026 10:13:06 +0200 Subject: [PATCH] fix: align the Kubernetes ConfigMap with the Spring Boot 4 properties The Kubernetes manifests were added after the other deployment descriptors, and the two commits that realigned those afterwards left them behind: 46459f4e1 (Spring Boot 4 base configuration) and fbdd4bd3d (springdoc alignment) both skipped deploy/kubernetes. Three of the keys therefore no longer bind to anything: - JobRunr dropped the org. prefix in version 7, so the whole block under org.jobrunr was ignored and both the job scheduler and the background job server silently ran with their defaults. - ZipkinAutoConfiguration moved to org.springframework.boot.zipkin .autoconfigure in Spring Boot 4, so the exclude no longer matched a class. - spring.thymeleaf.enabled is gone; check-template-location is what suppresses the missing template location now. Also add the springdoc keys the other deployments already carry, so the swagger-ui served from the Kubernetes example behaves the same. Fixes https://github.com/eclipse-openvsx/openvsx/issues/2157 Co-Authored-By: Claude Opus 5 (1M context) --- deploy/kubernetes/configmap.yaml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/deploy/kubernetes/configmap.yaml b/deploy/kubernetes/configmap.yaml index fe35c0ad2..a4480e169 100644 --- a/deploy/kubernetes/configmap.yaml +++ b/deploy/kubernetes/configmap.yaml @@ -23,7 +23,7 @@ data: name: openvsx-server autoconfigure: exclude: - - org.springframework.boot.actuate.autoconfigure.tracing.zipkin.ZipkinAutoConfiguration + - org.springframework.boot.zipkin.autoconfigure.ZipkinAutoConfiguration profiles: include: ovsx cache: @@ -49,7 +49,7 @@ data: jdbc: initialize-schema: never thymeleaf: - enabled: false + check-template-location: false # Uncomment and configure to enable GitHub OAuth authentication # security: # oauth2: @@ -82,6 +82,9 @@ data: requests: true springdoc: + model-and-view-allowed: true + api-docs: + version: openapi_3_0 swagger-ui: path: /swagger-ui docExpansion: list @@ -89,19 +92,18 @@ data: supportedSubmitMethods: - get - org: - jobrunr: - job-scheduler: - enabled: true - background-job-server: - enabled: true - worker-count: 2 - dashboard: - enabled: false - database: - type: sql - miscellaneous: - allow-anonymous-data-usage: false + jobrunr: + job-scheduler: + enabled: true + background-job-server: + enabled: true + worker-count: 2 + dashboard: + enabled: false + database: + type: sql + miscellaneous: + allow-anonymous-data-usage: false bucket4j: enabled: false