mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 10:18:39 +00:00
[kubernetes] Use controlPlane.replicas field (#1556)
## 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 -->
This commit is contained in:
@@ -147,7 +147,7 @@ spec:
|
||||
podAdditionalMetadata:
|
||||
labels:
|
||||
policy.cozystack.io/allow-to-etcd: "true"
|
||||
replicas: 2
|
||||
replicas: {{ .Values.controlPlane.replicas }}
|
||||
version: {{ include "kubernetes.versionMap" $ }}
|
||||
---
|
||||
apiVersion: cozystack.io/v1alpha1
|
||||
|
||||
Reference in New Issue
Block a user