mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
serveSDN=false removed only the sdn APIService. The binary still installed the group, so its /openapi/v3 index kept listing apis/sdn.cozystack.io/v1alpha1 beside the server that owns the group (cozyplane-apiserver in the cozyplane variant). kube-aggregator merges every APIService backend's index and serves a group-version from whichever backend it meets first in map order, so the index hash and the spec request often land on different backends. The backend answers the stale hash with a 301, the aggregator refuses to forward it, and `kubectl explain` fails for every kind in the group with "the backend attempted to redirect this request, which is not permitted"; when the two do match, kubectl gets cozystack-api's SecurityGroup-only spec and reports the other kinds as missing. The chart now passes --serve-sdn=false with serveSDN off, and the server then leaves the group uninstalled. Assisted-by: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>