diff --git a/deployment/helm/charts/ocelot-neo4j/templates/neo4j/job.yaml b/deployment/helm/charts/ocelot-neo4j/templates/neo4j/job.yaml.old similarity index 96% rename from deployment/helm/charts/ocelot-neo4j/templates/neo4j/job.yaml rename to deployment/helm/charts/ocelot-neo4j/templates/neo4j/job.yaml.old index dfa09d1e73..b9051206c2 100644 --- a/deployment/helm/charts/ocelot-neo4j/templates/neo4j/job.yaml +++ b/deployment/helm/charts/ocelot-neo4j/templates/neo4j/job.yaml.old @@ -1,4 +1,3 @@ -{{- if .Values.underMaintenance }} apiVersion: batch/v1 kind: Job metadata: @@ -33,4 +32,3 @@ spec: - name: neo4j-backups persistentVolumeClaim: claimName: {{ .Release.Name }}-neo4j-backups -{{- end }} diff --git a/deployment/helm/charts/ocelot-neo4j/templates/neo4j/stateful-set.yaml b/deployment/helm/charts/ocelot-neo4j/templates/neo4j/stateful-set.yaml index 220e99e842..65341d1200 100644 --- a/deployment/helm/charts/ocelot-neo4j/templates/neo4j/stateful-set.yaml +++ b/deployment/helm/charts/ocelot-neo4j/templates/neo4j/stateful-set.yaml @@ -3,7 +3,7 @@ kind: StatefulSet metadata: name: {{ .Release.Name }}-neo4j spec: - replicas: {{ .Values.underMaintenance | ternary 0 1 }} + replicas: 1 selector: matchLabels: app: {{ .Release.Name }}-neo4j