Skip to content

Commit cccb9fa

Browse files
committed
fix: correct condition for uploads persistence check
1 parent cebdb91 commit cccb9fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm/tuneperfect/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ spec:
6262
resources:
6363
{{- toYaml $appConfig.resources | nindent 12 }}
6464
{{- end }}
65-
{{- if and $appConfig.uploads.enabled $.Values.uploads.persistence.enabled }}
65+
{{- if and $appConfig.uploads $appConfig.uploads.enabled $.Values.uploads.persistence.enabled }}
6666
volumeMounts:
6767
- name: uploads-storage
6868
mountPath: {{ $appConfig.uploads.mountPath }}
6969
{{- end }}
70-
{{- if and $appConfig.uploads.enabled $.Values.uploads.persistence.enabled }}
70+
{{- if and $appConfig.uploads $appConfig.uploads.enabled $.Values.uploads.persistence.enabled }}
7171
volumes:
7272
- name: uploads-storage
7373
persistentVolumeClaim:

0 commit comments

Comments
 (0)