Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mount etc when smtp authfile is enabled #18

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/mailpit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: mailpit
description: An email and SMTP testing tool with API for developers
type: application
version: 0.5.1
version: 0.5.2
appVersion: 1.8.2
dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/mailpit/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
volumeMounts:
- name: data
mountPath: /var/lib/mailpit
{{- if or .Values.mailpit.ui.authFile.enabled .Values.mailpit.ui.authFile.enabled .Values.mailpit.ui.tls.secretName .Values.mailpit.smtp.tls.secretName .Values.mailpit.relay.enabled }}
{{- if or .Values.mailpit.ui.authFile.enabled .Values.mailpit.smtp.authFile.enabled .Values.mailpit.ui.tls.secretName .Values.mailpit.smtp.tls.secretName .Values.mailpit.relay.enabled }}
- name: etc
mountPath: /etc/mailpit
{{- end }}
Expand All @@ -118,7 +118,7 @@ spec:
{{- include "common.tplvalues.render" ( dict "value" . "context" $) | nindent 8 }}
{{- end }}
volumes:
{{- if or .Values.mailpit.ui.authFile.enabled .Values.mailpit.ui.authFile.enabled .Values.mailpit.ui.tls.secretName .Values.mailpit.smtp.tls.secretName .Values.mailpit.relay.enabled }}
{{- if or .Values.mailpit.ui.authFile.enabled .Values.mailpit.smtp.authFile.enabled .Values.mailpit.ui.tls.secretName .Values.mailpit.smtp.tls.secretName .Values.mailpit.relay.enabled }}
- name: etc
projected:
sources:
Expand Down