From a29203e578b133b6f0c8fd0b52cb08d2a8607853 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 5 Dec 2024 13:15:22 +0100 Subject: [PATCH] remove maintenance part regarding database --- .../ocelot-neo4j/templates/neo4j/{job.yaml => job.yaml.old} | 2 -- .../helm/charts/ocelot-neo4j/templates/neo4j/stateful-set.yaml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) rename deployment/helm/charts/ocelot-neo4j/templates/neo4j/{job.yaml => job.yaml.old} (96%) 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