postgresql

by GlassFlow

Helm chartv0.1.9App 17Verified publisher

A Helm chart for PostgreSQL database used by GlassFlow ETL

About this chart

postgresql

A Helm chart for PostgreSQL database used by GlassFlow ETL

Maintainers

NameEmailUrl
Glassflow[email protected]https://glassflow.dev

Values

KeyTypeDefaultDescription
additionalArgslist[]
additionalVolumeMountslist[]
additionalVolumeslist[]
affinityobject{}
annotationsobject{}
auth.databasestring"glassflow"
auth.enabledbooltrue
auth.existingSecret.enabledboolfalseEnable use of existing Kubernetes secret for authentication credentials. When enabled, the chart will use the existing secret instead of auth.username and auth.password. This is useful for production deployments where credentials should be managed externally (e.g., via external-secrets operator, Sealed Secrets, or manual secret creation).
auth.existingSecret.keys.databaseKeystring"database"Key name in the existing secret that contains the database name. If not provided or the key doesn't exist, the chart will fall back to auth.database.
auth.existingSecret.keys.passwordKeystring"password"Key name in the existing secret that contains the PostgreSQL password. Required when auth.existingSecret.enabled is true.
auth.existingSecret.keys.usernameKeystring"username"Key name in the existing secret that contains the PostgreSQL username. Required when auth.existingSecret.enabled is true.
auth.existingSecret.namestring""Name of the existing Kubernetes secret to use for authentication. Required when auth.existingSecret.enabled is true. The secret must exist in the same namespace where the chart is deployed. Example: kubectl create secret generic postgres-credentials --from-literal=username=myuser --from-literal=password=mypass --from-literal=database=mydb
auth.passwordstring"glassflow@123"PostgreSQL password for the application user. Required when auth.existingSecret.enabled is false.
auth.usernamestring"glassflow"PostgreSQL username for the application user. Required when auth.existingSecret.enabled is false.
customLivenessProbeobject{}
customReadinessProbeobject{}
global.storageClassstring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"postgres"
image.tagstring"17-alpine"
imagePullSecretslist[]
initContainerslist[]
livenessProbe.enabledbooltrue
livenessProbe.failureThresholdint6
livenessProbe.initialDelaySecondsint30
livenessProbe.periodSecondsint10
livenessProbe.successThresholdint1
livenessProbe.timeoutSecondsint5
maxConnectionsint100
nodeSelectorobject{}
persistence.accessModes[0]string"ReadWriteOnce"
persistence.dataDirstring"/var/lib/postgresql/data"
persistence.enabledbooltrue
persistence.existingClaimstring""
persistence.mountPathstring"/var/lib/postgresql"
persistence.sizestring"20Gi"
persistence.storageClassstring""
persistence.subPathstring""
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
priorityClassNamestring""
readinessProbe.enabledbooltrue
readinessProbe.failureThresholdint6
readinessProbe.initialDelaySecondsint5
readinessProbe.periodSecondsint10
readinessProbe.successThresholdint1
readinessProbe.timeoutSecondsint5
replicaCountint1
resources.limits.cpustring"1000m"
resources.limits.memorystring"2Gi"
resources.requests.cpustring"250m"
resources.requests.memorystring"512Mi"
securityContextobject{}
service.annotationsobject{}
service.portint5432
service.targetPortint5432
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]
topologySpreadConstraintslist[]

Deploy postgresql with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has postgresql on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpostgresql is pinned at v0.1.9 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply