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: