[stable/postgresql] Fix resources parameter and document it. (#9120)

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
This commit is contained in:
Cédric de Saint Martin
2018-11-10 16:41:53 -08:00
committed by k8s-ci-robot
parent 58315466b1
commit 032a3d4fc2
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: postgresql
version: 2.3.4
version: 2.4.0
appVersion: 10.6.0
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
+1
View File
@@ -76,6 +76,7 @@ The following tables lists the configurable parameters of the PostgreSQL chart a
| `persistence.accessMode` | PVC Access Mode for PostgreSQL volume | `ReadWriteOnce` |
| `persistence.size` | PVC Storage Request for PostgreSQL volume | `8Gi` |
| `persistence.annotations` | Annotations for the PVC | `{}` |
| `resources` | CPU/Memory resource requests/limits | `nil` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Toleration labels for pod assignment | `[]` |
| `terminationGracePeriodSeconds` | Seconds the pod needs to terminate gracefully | `nil` |
@@ -71,7 +71,7 @@ spec:
image: {{ template "postgresql.image" . }}
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
resources:
{{ toYaml .Values.Resources | indent 10 }}
{{ toYaml .Values.resources | indent 10 }}
env:
{{- if .Values.image.debug}}
- name: BASH_DEBUG
+1 -1
View File
@@ -73,7 +73,7 @@ spec:
image: {{ template "postgresql.image" . }}
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
resources:
{{ toYaml .Values.Resources | indent 10 }}
{{ toYaml .Values.resources | indent 10 }}
env:
{{- if .Values.replication.enabled }}
- name: POSTGRESQL_REPLICATION_MODE