Skip to content

Commit

Permalink
fix(single-bin): fix issue with volume claims in single binary mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Umaaz committed Feb 8, 2024
1 parent 86753b6 commit cee2646
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions charts/deep/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,8 @@ spec:
name: deep-conf
- mountPath: /runtime-config
name: deep-runtime-conf
{{- if .Values.deep.persistence.enabled }}
- mountPath: /var/deep
name: storage
{{- end }}
{{- if .Values.metricsGenerator.enabled }}
- mountPath: /tmp
name: tmp
Expand Down Expand Up @@ -109,7 +107,11 @@ spec:
{{- if .Values.metricsGenerator.enabled }}
- name: tmp
emptyDir: {}
{{- end }}
{{- end }}
{{- if not .Values.deep.persistence.enabled }}
- name: storage
emptyDir: { }
{{- end }}
updateStrategy:
type: {{- toYaml .Values.deep.updateStrategy | nindent 6 }}
{{- if .Values.deep.persistence.enabled }}
Expand Down

0 comments on commit cee2646

Please sign in to comment.