postgresql

postgresql

postgresql

Version: 0.2.2 Type: application AppVersion: 17.1-alpine

A Helm chart for running PostgreSQL (Postgres) database

Maintainers

NameEmailUrl
WrenIXhttps://wrenix.eu

Usage

Helm must be installed and setup to your kubernetes cluster to use the charts. Refer to Helm’s documentation to get started. Once Helm has been set up correctly, fetch the charts as follows:

helm pull oci://codeberg.org/wrenix/helm-charts/postgresql

You can install a chart release using the following command:

helm install postgresql-release oci://codeberg.org/wrenix/helm-charts/postgresql --values values.yaml

To uninstall a chart release use helm’s delete command:

helm uninstall postgresql-release

Values

KeyTypeDefaultDescription
affinityobject{}
autoupgrade.enabledbooltrue
autoupgrade.image.pullPolicystring"IfNotPresent"
autoupgrade.image.registrystring"docker.io"
autoupgrade.image.repositorystring"pgautoupgrade/pgautoupgrade"
autoupgrade.image.tagstring"17-alpine"
autoupgrade.securityContextobject{}
fullnameOverridestring""
global.image.pullPolicystringnilif set it will overwrite all pullPolicy
global.image.registrystringnilif set it will overwrite all registry entries
image.pullPolicystring"IfNotPresent"
image.registrystring"docker.io"
image.repositorystring"library/postgres"
image.tagstring""
imagePullSecretslist[]
job.annotationsobject{"helm.sh/hook":"post-install,post-upgrade","helm.sh/hook-delete-policy":"before-hook-creation,hook-succeeded"}Annotations (usefull to delete job by helm afterwards)
job.databasesobject{}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
job.enabledbooltrueEnable database bootstrapping.
job.retriesint60Amount of retries while waiting for postgresql server is available.
job.usersobject{}Bootstrap users into postgresql server. When users already exists, they will stay untouched. users: username: RandomPassword0#"
job.waitint5Time to wait in each wait in each iteration until postgresql server is available.
nameOverridestring""
nodeSelectorobject{}
persistence.accessModestring"ReadWriteOnce"
persistence.annotationsobject{}
persistence.enabledbooltrue
persistence.existingClaimstringnilA manually managed Persistent Volume and Claim Requires persistence.enabled: true If defined, PVC must be created manually before volume will be bound
persistence.hostPathstringnilDo not create an PVC, direct use hostPath in Pod
persistence.sizestring"1Gi"
persistence.storageClassstringnilPersistent Volume Storage Class If defined, storageClassName: 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)
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
postgres.passwordstring"SUPERSTRONGPW"Database password.
postgres.userstring"postgres"Database user.
resourcesobject{}
securityContextobject{}
service.portint5432
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createboolfalse
serviceAccount.namestring""
tolerationslist[]

Autogenerated from chart metadata using helm-docs