Skip to content

Commit

Permalink
Fix for #84: Do not set storageClassName if not set in values.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed Aug 22, 2021
1 parent ddc147f commit 3cb19e7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion helm/mail/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Empty file modified scripts/common-run.sh
100644 → 100755
Empty file.
Empty file modified scripts/common.sh
100644 → 100755
Empty file.
Empty file modified scripts/opendkim.sh
100644 → 100755
Empty file.
5 changes: 5 additions & 0 deletions scripts/postfix.sh
Original file line number Diff line number Diff line change
@@ -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'
Empty file modified scripts/run.sh
100644 → 100755
Empty file.

0 comments on commit 3cb19e7

Please sign in to comment.