mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 23:47:48 +08:00
Add hostIPC option for PostgreSQL HA StatefulSet (#9154)
This commit is contained in:
@@ -27,4 +27,4 @@ name: postgresql-ha
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-postgresql
|
||||
- https://www.postgresql.org/
|
||||
version: 8.4.3
|
||||
version: 8.4.4
|
||||
|
||||
@@ -108,6 +108,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
|
||||
| `postgresql.containerPort` | PostgreSQL port | `5432` |
|
||||
| `postgresql.hostAliases` | Deployment pod host aliases | `[]` |
|
||||
| `postgresql.hostNetwork` | Specify if host network should be enabled for PostgreSQL pod | `false` |
|
||||
| `postgresql.hostIPC` | Specify if host IPC should be enabled for PostgreSQL pod | `false` |
|
||||
| `postgresql.podAnnotations` | Additional pod annotations | `{}` |
|
||||
| `postgresql.priorityClassName` | Pod priority class | `""` |
|
||||
| `postgresql.podAffinityPreset` | PostgreSQL pod affinity preset. Ignored if `postgresql.affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
|
||||
@@ -73,6 +73,7 @@ spec:
|
||||
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.topologySpreadConstraints "context" .) | nindent 8 }}
|
||||
{{- end }}
|
||||
hostNetwork: {{ .Values.postgresql.hostNetwork }}
|
||||
hostIPC: {{ .Values.postgresql.hostIPC }}
|
||||
initContainers:
|
||||
{{- if .Values.postgresql.tls.enabled }}
|
||||
- name: init-chmod-tls
|
||||
|
||||
@@ -164,6 +164,9 @@ postgresql:
|
||||
## @param postgresql.hostNetwork Specify if host network should be enabled for PostgreSQL pod
|
||||
##
|
||||
hostNetwork: false
|
||||
## @param postgresql.hostIPC Specify if host IPC should be enabled for PostgreSQL pod
|
||||
##
|
||||
hostIPC: false
|
||||
## @param postgresql.podAnnotations Additional pod annotations
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user