Skip to content

Commit

Permalink
remove maintenance part regarding database
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Dec 5, 2024
1 parent 34a7967 commit a29203e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if .Values.underMaintenance }}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -33,4 +32,3 @@ spec:
- name: neo4j-backups
persistentVolumeClaim:
claimName: {{ .Release.Name }}-neo4j-backups
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a29203e

Please sign in to comment.