Skip to content

Commit

Permalink
fix(worker-deploy) fixing worker deploy with minio
Browse files Browse the repository at this point in the history
  • Loading branch information
electrosenpai committed Oct 22, 2024
1 parent 7d1856e commit 20bd120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,13 @@ spec:
resources:
{{- toYaml . | nindent 12}}
{{- end }}
{{ if not .Values.global.s3.enabled }}
{{- if and (not .Values.global.s3.enabled) (not .Values.minio.enabled) }}
volumeMounts:
- mountPath: /app/storage
name: {{ .Release.Name }}-storage-data
{{ end }}
restartPolicy: Always
{{ if not .Values.global.s3.enabled }}
{{- if and (not .Values.global.s3.enabled) (not .Values.minio.enabled) }}
volumes:
- name: {{ .Release.Name }}-storage-data
persistentVolumeClaim:
Expand Down

0 comments on commit 20bd120

Please sign in to comment.