From 164fa564fff819f4e214735214c0226a2e328493 Mon Sep 17 00:00:00 2001 From: Naseem Date: Sun, 1 Dec 2019 15:31:03 -0500 Subject: [PATCH] fix replica count conflict (#19200) Signed-off-by: Naseem --- stable/neo4j/Chart.yaml | 2 +- stable/neo4j/templates/readreplicas-deployment.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/neo4j/Chart.yaml b/stable/neo4j/Chart.yaml index fa98b0c9fc..47fb4938ca 100644 --- a/stable/neo4j/Chart.yaml +++ b/stable/neo4j/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: neo4j home: https://www.neo4j.com -version: 1.2.1 +version: 1.2.2 appVersion: 3.4.5 description: Neo4j is the world's leading graph database icon: http://info.neo4j.com/rs/773-GON-065/images/neo4j_logo.png diff --git a/stable/neo4j/templates/readreplicas-deployment.yaml b/stable/neo4j/templates/readreplicas-deployment.yaml index 6f80897179..a91f1484a5 100644 --- a/stable/neo4j/templates/readreplicas-deployment.yaml +++ b/stable/neo4j/templates/readreplicas-deployment.yaml @@ -9,7 +9,9 @@ metadata: app: {{ template "neo4j.name" . }} component: replica spec: +{{- if not .Values.readReplica.autoscaling.enabled }} replicas: {{ .Values.readReplica.numberOfServers }} +{{- end }} template: metadata: labels: