Skip to content

Commit

Permalink
Add option to have multiple containers (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaazmyn committed Jun 4, 2021
1 parent a695d05 commit e0f7636
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ Chart configuration is as follows:
| `extraVolumeMounts` | `[]` | Append any extra volume mounts to the postfix container |
| `extraInitContainers` | `[]` | Execute any extra init containers on startup |
| `extraEnv` | `[]` | Add any extra environment variables to the container |
| `extraContainers` | `[]` | Add extra containers |
| `deployment.labels` | `{}` | Additional labels for the statefulset |
| `deployment.annotations` | `{}` | Additional annotations for the statefulset |
| `pod.securityContext` | `{}` | Pods's [security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
Expand Down
3 changes: 3 additions & 0 deletions helm/mail/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ spec:
{{- end }}
{{- if .Values.extraVolumeMounts }}{{- toYaml .Values.extraVolumeMounts | nindent 12 }}{{ end }}
resources: {{ toYaml .Values.resources | nindent 12 }}
{{- if .Values.extraContainers }}
{{ tpl .Values.extraContainers . | indent 8 }}
{{- end }}
volumes:
# Socket directories
- name: public
Expand Down
1 change: 1 addition & 0 deletions helm/mail/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ extraVolumes: []
extraVolumeMounts: []
extraInitContainers: []
extraEnv: []
extraContainers: []

deployment:
labels: {}
Expand Down

0 comments on commit e0f7636

Please sign in to comment.