mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-10 00:14:40 +08:00
Add option to have multiple containers
This commit is contained in:
parent
a695d05a7b
commit
d59ad419bf
3 changed files with 5 additions and 0 deletions
|
@ -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/) |
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -49,6 +49,7 @@ extraVolumes: []
|
|||
extraVolumeMounts: []
|
||||
extraInitContainers: []
|
||||
extraEnv: []
|
||||
extraContainers: []
|
||||
|
||||
deployment:
|
||||
labels: {}
|
||||
|
|
Loading…
Add table
Reference in a new issue