postgresql
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
Key | Type | Default | Description |
---|---|---|---|
affinity |
object |
|
|
fullnameOverride |
string |
|
|
image.pullPolicy |
string |
|
|
image.registry |
string |
|
|
image.repository |
string |
|
|
image.tag |
string |
|
|
imagePullSecrets |
list |
|
|
job.annotations |
object |
|
Annotations (usefull to delete job by helm afterwards) |
job.databases |
object |
|
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.enabled |
bool |
|
Enable database bootstrapping. |
job.retries |
int |
|
Amount of retries while waiting for postgresql server is available. |
job.users |
object |
|
Bootstrap users into postgresql server. When users already exists, they will stay untouched. users: username: RandomPassword0#" |
job.wait |
int |
|
Time to wait in each wait in each iteration until postgresql server is available. |
nameOverride |
string |
|
|
nodeSelector |
object |
|
|
persistence.accessMode |
string |
|
|
persistence.annotations |
object |
|
|
persistence.enabled |
bool |
|
|
persistence.existingClaim |
string |
|
A manually managed Persistent Volume and Claim Requires persistence.enabled: true If defined, PVC must be created manually before volume will be bound |
persistence.hostPath |
string |
|
Do not create an PVC, direct use hostPath in Pod |
persistence.size |
string |
|
|
persistence.storageClass |
string |
|
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) |
podAnnotations |
object |
|
|
podLabels |
object |
|
|
podSecurityContext |
object |
|
|
postgres.password |
string |
|
Database password. |
postgres.user |
string |
|
Database user. |
resources |
object |
|
|
securityContext |
object |
|
|
service.port |
int |
|
|
service.type |
string |
|
|
serviceAccount.annotations |
object |
|
|
serviceAccount.create |
bool |
|
|
serviceAccount.name |
string |
|
|
tolerations |
list |
|
Autogenerated from chart metadata using helm-docs