mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-17 03:45:33 +08:00
Add option to have multiple containers
This commit is contained in:
parent
d9fe613d06
commit
85cf6469e3
3 changed files with 5 additions and 0 deletions
|
@ -468,6 +468,7 @@ Chart configuration is as follows:
|
||||||
| `extraVolumeMounts` | `[]` | Append any extra volume mounts to the postfix container |
|
| `extraVolumeMounts` | `[]` | Append any extra volume mounts to the postfix container |
|
||||||
| `extraInitContainers` | `[]` | Execute any extra init containers on startup |
|
| `extraInitContainers` | `[]` | Execute any extra init containers on startup |
|
||||||
| `extraEnv` | `[]` | Add any extra environment variables to the container |
|
| `extraEnv` | `[]` | Add any extra environment variables to the container |
|
||||||
|
| `extraContainers` | `[]` | Add extra containers |
|
||||||
| `deployment.labels` | `{}` | Additional labels for the statefulset |
|
| `deployment.labels` | `{}` | Additional labels for the statefulset |
|
||||||
| `deployment.annotations` | `{}` | Additional annotations 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/) |
|
| `pod.securityContext` | `{}` | Pods's [security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
|
||||||
|
|
|
@ -78,6 +78,9 @@ spec:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
{{- if .Values.extraVolumeMounts }}{{- toYaml .Values.extraVolumeMounts | nindent 12 }}{{ end }}
|
{{- if .Values.extraVolumeMounts }}{{- toYaml .Values.extraVolumeMounts | nindent 12 }}{{ end }}
|
||||||
resources: {{ toYaml .Values.resources | nindent 12 }}
|
resources: {{ toYaml .Values.resources | nindent 12 }}
|
||||||
|
{{- if .Values.extraContainers }}
|
||||||
|
{{ tpl .Values.extraContainers . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.persistence.enabled }}
|
{{- if .Values.persistence.enabled }}
|
||||||
{{ if .Values.extraVolumes }}volumes: {{- toYaml .Values.extraVolumes | nindent 8 }}{{ end }}
|
{{ if .Values.extraVolumes }}volumes: {{- toYaml .Values.extraVolumes | nindent 8 }}{{ end }}
|
||||||
{{- if .Values.persistence.existingClaim }}
|
{{- if .Values.persistence.existingClaim }}
|
||||||
|
|
|
@ -48,6 +48,7 @@ extraVolumes: []
|
||||||
extraVolumeMounts: []
|
extraVolumeMounts: []
|
||||||
extraInitContainers: []
|
extraInitContainers: []
|
||||||
extraEnv: []
|
extraEnv: []
|
||||||
|
extraContainers: []
|
||||||
|
|
||||||
deployment:
|
deployment:
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
Loading…
Add table
Reference in a new issue