mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-08 21:14:56 +09:00
## What this PR does The managed Kubernetes app accepts a .controPlane.replicas field, but this value was never used, instead being hardcoded in the KamajiControlPlane template to 2. This patch fixes this. ### Release note ```release-note [kubernetes] Pass the .controlPlane.replicas field into the KamajiControlPlane template, making the replica count of the controlplane pods user-configurable. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Control plane replica count is now configurable via Helm values, allowing flexible deployment scaling. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
How to test packages local
cd packages/core/installer
make image-cozystack REGISTRY=YOUR_CUSTOM_REGISTRY
make apply
kubectl delete po -l app=source-controller -n cozy-fluxcd