mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
58315466b1
commit
032a3d4fc2
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user