mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-05 22:14:26 +08:00
Fix for #84: Do not set storageClassName if not set in values.yml
This commit is contained in:
parent
ddc147f734
commit
3cb19e7c13
7 changed files with 7 additions and 2 deletions
|
@ -16,7 +16,7 @@ stdout_logfile_maxbytes = 0
|
|||
stderr_logfile_maxbytes = 0
|
||||
|
||||
[program:postfix]
|
||||
command = /usr/sbin/postfix -c /etc/postfix start-fg
|
||||
command = /postfix.sh
|
||||
autostart = true
|
||||
autorestart = false
|
||||
directory = /etc/postfix
|
||||
|
|
|
@ -145,7 +145,7 @@ spec:
|
|||
accessModes: {{- toYaml .Values.persistence.accessModes | nindent 10 }}
|
||||
{{- if (eq "-" .Values.persistence.storageClass) }}
|
||||
storageClassName: ""
|
||||
{{- else }}
|
||||
{{- end }}{{- if .Values.persistence.storageClass }}
|
||||
storageClassName: "{{ .Values.persistence.storageClass }}"
|
||||
{{- end }}
|
||||
resources:
|
||||
|
|
0
scripts/common-run.sh
Normal file → Executable file
0
scripts/common-run.sh
Normal file → Executable file
0
scripts/common.sh
Normal file → Executable file
0
scripts/common.sh
Normal file → Executable file
0
scripts/opendkim.sh
Normal file → Executable file
0
scripts/opendkim.sh
Normal file → Executable file
5
scripts/postfix.sh
Executable file
5
scripts/postfix.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
/usr/sbin/postfix -c /etc/postfix start-fg | \
|
||||
fgrep -v 'connect from localhost[127.0.0.1]'
|
||||
fgrep -v 'lost connection after EHLO from localhost[127.0.0.1]' | \
|
||||
fgrep -v 'disconnect from localhost[127.0.0.1] ehlo=1 commands=1'
|
0
scripts/run.sh
Normal file → Executable file
0
scripts/run.sh
Normal file → Executable file
Loading…
Add table
Reference in a new issue