Fix helm template whitespace issue in statefulset

This commit is contained in:
cătălin 2026-08-12 09:00:44 +02:00
commit 6dcac4c78f
No known key found for this signature in database

View file

@ -31,12 +31,18 @@ spec:
volumeMounts:
- name: oxicloud-data
mountPath: /app/storage
{{- with .Values.oxicloud.resources }}
resources:
{{- toYaml .Values.oxicloud.resources | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.oxicloud.livenessProbe }}
livenessProbe:
{{- toYaml .Values.oxicloud.livenessProbe | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.oxicloud.readinessProbe }}
readinessProbe:
{{- toYaml .Values.oxicloud.readinessProbe | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if not .Values.oxicloud.persistence.enabled }}
volumes:
- name: oxicloud-data