mirror of
https://github.com/helm/charts.git
synced 2026-08-20 04:47:32 +00:00
[stable/postgresql] Allow templating of extra env vars (#14664)
* Allow templating of extra env vars Signed-off-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com> * Bump chart version to fix lint error Signed-off-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f9cf91e345
commit
691a770df5
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: postgresql
|
||||
version: 5.3.5
|
||||
version: 5.3.6
|
||||
appVersion: 11.3.0
|
||||
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
|
||||
keywords:
|
||||
|
||||
@@ -166,7 +166,7 @@ The following tables lists the configurable parameters of the PostgreSQL chart a
|
||||
| `metrics.readinessProbe.timeoutSeconds` | When the probe times out | 5 |
|
||||
| `metrics.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded. | 6 |
|
||||
| `metrics.readinessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed | 1 |
|
||||
| `extraEnv` | Any extra environment variables you would like to pass on to the pod | `{}` |
|
||||
| `extraEnv` | Any extra environment variables you would like to pass on to the pod. The value is evaluated as a template. | `{}` |
|
||||
| `updateStrategy` | Update strategy policy | `{type: "RollingUpdate"}` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
@@ -153,7 +153,7 @@ spec:
|
||||
value: {{ (include "postgresql.database" .) | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraEnv }}
|
||||
{{ toYaml .Values.extraEnv | indent 8 }}
|
||||
{{ tpl (toYaml .Values.extraEnv) $ | indent 8 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: postgresql
|
||||
|
||||
Reference in New Issue
Block a user