Fix helm template whitespace issue in statefulset
This commit is contained in:
parent
5c0aeb6b97
commit
6dcac4c78f
1 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue