From 5610df33e19c1e72a608d4f8b59be6a9d14070b1 Mon Sep 17 00:00:00 2001 From: Balazs Nadasdi Date: Mon, 31 Jul 2023 13:09:36 +0200 Subject: [PATCH] patch: static replica count for branch planner Branch Planner is not scalable yet. If someone tries to scale it, then they will see unexpected behavior. Closes #807 References: * https://github.com/weaveworks/tf-controller/issues/807 Signed-off-by: Balazs Nadasdi --- charts/tf-controller/templates/planner-deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/tf-controller/templates/planner-deployment.yaml b/charts/tf-controller/templates/planner-deployment.yaml index 04e09316..6b330fde 100644 --- a/charts/tf-controller/templates/planner-deployment.yaml +++ b/charts/tf-controller/templates/planner-deployment.yaml @@ -6,7 +6,8 @@ metadata: {{- include "planner.labels" . | nindent 4 }} name: {{ include "planner.fullname" . }} spec: - replicas: {{ .Values.replicaCount }} + # Planner can't be scaled yet. + replicas: 1 selector: matchLabels: {{- include "planner.selectorLabels" . | nindent 6 }}