mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* postgresql: optional prometheus metrics exporter * split metrics.image into image and imageTag * bump postgresql chart to 0.3.0 * Adding myself as maintainer for the postgresql chart
48 lines
1008 B
YAML
48 lines
1008 B
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
|
|
storageClass: generic
|
|
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
|