mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
Add hostIPC option for PostgreSQL StatefulSets (#9148)
Signed-off-by: Hayden James <hayden.james@gmail.com>
This commit is contained in:
@@ -26,4 +26,4 @@ name: postgresql
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-postgresql
|
||||
- https://www.postgresql.org/
|
||||
version: 11.0.8
|
||||
version: 11.1.0
|
||||
|
||||
@@ -206,6 +206,7 @@ kubectl delete pvc -l release=my-release
|
||||
| `primary.containerSecurityContext.runAsUser` | User ID for the container | `1001` |
|
||||
| `primary.hostAliases` | PostgreSQL primary pods host aliases | `[]` |
|
||||
| `primary.hostNetwork` | Specify if host network should be enabled for PostgreSQL pod | `false` |
|
||||
| `primary.hostIPC` | Specify if host IPC should be enabled for PostgreSQL pod | `false` |
|
||||
| `primary.labels` | Map of labels to add to the statefulset (postgresql primary) | `{}` |
|
||||
| `primary.annotations` | Annotations for PostgreSQL primary pods | `{}` |
|
||||
| `primary.podLabels` | Map of labels to add to the pods (postgresql primary) | `{}` |
|
||||
@@ -291,6 +292,7 @@ kubectl delete pvc -l release=my-release
|
||||
| `readReplicas.containerSecurityContext.runAsUser` | User ID for the container | `1001` |
|
||||
| `readReplicas.hostAliases` | PostgreSQL read only pods host aliases | `[]` |
|
||||
| `readReplicas.hostNetwork` | Specify if host network should be enabled for PostgreSQL pod | `false` |
|
||||
| `readReplicas.hostIPC` | Specify if host IPC should be enabled for PostgreSQL pod | `false` |
|
||||
| `readReplicas.labels` | Map of labels to add to the statefulset (PostgreSQL read only) | `{}` |
|
||||
| `readReplicas.annotations` | Annotations for PostgreSQL read only pods | `{}` |
|
||||
| `readReplicas.podLabels` | Map of labels to add to the pods (PostgreSQL read only) | `{}` |
|
||||
|
||||
@@ -88,6 +88,7 @@ spec:
|
||||
securityContext: {{- omit .Values.primary.podSecurityContext "enabled" | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
hostNetwork: {{ .Values.primary.hostNetwork }}
|
||||
hostIPC: {{ .Values.primary.hostIPC }}
|
||||
initContainers:
|
||||
{{- if and .Values.tls.enabled (not .Values.volumePermissions.enabled) }}
|
||||
- name: copy-certs
|
||||
|
||||
@@ -83,6 +83,7 @@ spec:
|
||||
securityContext: {{- omit .Values.readReplicas.podSecurityContext "enabled" | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
hostNetwork: {{ .Values.readReplicas.hostNetwork }}
|
||||
hostIPC: {{ .Values.readReplicas.hostIPC }}
|
||||
initContainers:
|
||||
{{- if and .Values.tls.enabled (not .Values.volumePermissions.enabled) }}
|
||||
- name: copy-certs
|
||||
|
||||
@@ -445,6 +445,9 @@ primary:
|
||||
## @param primary.hostNetwork Specify if host network should be enabled for PostgreSQL pod (postgresql primary)
|
||||
##
|
||||
hostNetwork: false
|
||||
## @param primary.hostIPC Specify if host IPC should be enabled for PostgreSQL pod (postgresql primary)
|
||||
##
|
||||
hostIPC: false
|
||||
## @param primary.labels Map of labels to add to the statefulset (postgresql primary)
|
||||
##
|
||||
labels: {}
|
||||
@@ -752,6 +755,9 @@ readReplicas:
|
||||
## @param readReplicas.hostNetwork Specify if host network should be enabled for PostgreSQL pod (PostgreSQL read only)
|
||||
##
|
||||
hostNetwork: false
|
||||
## @param readReplicas.hostIPC Specify if host IPC should be enabled for PostgreSQL pod (postgresql primary)
|
||||
##
|
||||
hostIPC: false
|
||||
## @param readReplicas.labels Map of labels to add to the statefulset (PostgreSQL read only)
|
||||
##
|
||||
labels: {}
|
||||
|
||||
Reference in New Issue
Block a user