mirror of
https://github.com/helm/charts.git
synced 2026-08-22 13:57:51 +00:00
* Convert chart postgresql to use the recommended pvc patterns * document storage class fallback * bump chart version
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
## postgres image repository
|
|
image: "postgres"
|
|
## postgres image version
|
|
## ref: https://hub.docker.com/r/library/postgres/tags/
|
|
##
|
|
imageTag: "9.5.4"
|
|
|
|
## Specify a imagePullPolicy
|
|
## 'Always' if imageTag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
# imagePullPolicy:
|
|
|
|
## Create a database user
|
|
## Default: postgres
|
|
# postgresUser:
|
|
## Default: random 10 character string
|
|
# postgresPassword:
|
|
|
|
## Create a database
|
|
## Default: the postgres user
|
|
# postgresDatabase:
|
|
|
|
## Persist data to a persitent volume
|
|
persistence:
|
|
enabled: true
|
|
## If defined, volume.beta.kubernetes.io/storage-class: <storageClass>
|
|
## Default: volume.alpha.kubernetes.io/storage-class: default
|
|
##
|
|
# storageClass:
|
|
accessMode: ReadWriteOnce
|
|
size: 8Gi
|
|
|
|
metrics:
|
|
enabled: false
|
|
image: wrouesnel/postgres_exporter
|
|
imageTag: v0.1.1
|
|
imagePullPolicy: IfNotPresent
|
|
resources:
|
|
requests:
|
|
memory: 256Mi
|
|
cpu: 100m
|
|
|
|
## Configure resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources:
|
|
requests:
|
|
memory: 256Mi
|
|
cpu: 100m
|