helm-charts/postgresql/values.yaml

137 lines
3.6 KiB
YAML
Raw Permalink Normal View History

global:
image:
# -- if set it will overwrite all registry entries
registry:
# -- if set it will overwrite all pullPolicy
pullPolicy:
2023-09-26 00:12:53 +02:00
image:
registry: docker.io
2024-02-06 22:28:54 +01:00
repository: library/postgres
2023-09-26 00:12:53 +02:00
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podLabels: {}
2023-09-26 00:12:53 +02:00
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 5432
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: {}
tolerations: []
affinity: {}
2024-01-13 00:21:25 +01:00
# Enable persistence using Persistent Volume Claims
# ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
2023-09-26 00:12:53 +02:00
persistence:
enabled: true
annotations: {}
2024-01-13 00:21:25 +01:00
# -- Persistent Volume Storage Class
# If defined, storageClassName: <storageClass>
# If set to "-", storageClassName: "", which disables dynamic provisioning
# If undefined (the default) or set to null, no storageClassName spec is
# set, choosing the default provisioner. (gp2 on AWS, standard on
# GKE, AWS & OpenStack)
storageClass:
# -- A manually managed Persistent Volume and Claim
# Requires persistence.enabled: true
# If defined, PVC must be created manually before volume will be bound
existingClaim:
# -- Do not create an PVC, direct use hostPath in Pod
hostPath:
2023-09-26 00:12:53 +02:00
accessMode: ReadWriteOnce
size: 1Gi
# PostgreSQL configuration.
postgres:
# -- Database user.
user: "postgres"
# -- Database password.
password: "SUPERSTRONGPW"
# This job bootstrap the database server with databases and users.
job:
# -- Enable database bootstrapping.
enabled: true
# -- Amount of retries while waiting for postgresql server is available.
retries: 60
# -- Time to wait in each wait in each iteration until postgresql server is available.
wait: 5
# -- Annotations (usefull to delete job by helm afterwards)
annotations:
"helm.sh/hook": "post-install,post-upgrade"
"helm.sh/hook-delete-policy": "before-hook-creation,hook-succeeded"
2024-01-13 00:21:25 +01:00
2023-09-26 00:12:53 +02:00
# -- Bootstrap users into postgresql server. When users already exists, they will stay untouched.
#
# users:
# username: RandomPassword0#"
users: {}
# -- Bootstrap databases into postgresql server. When databases already exists, they will stay untouched.
#
# databases:
# "name_of_database":
# owner: "existing_user_which_will_get_grant"
# additionalParams: "" # Optional
databases: {}
autoupgrade:
enabled: true
image:
registry: docker.io
repository: pgautoupgrade/pgautoupgrade
pullPolicy: IfNotPresent
tag: "17-alpine"
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000