postgrest

by colearendt

Helm chartv0.3.6App v11.1.0

A Helm chart for deploying Postgrest to Kubernetes

About this chart

postgrest

Installing the Chart

To install the chart with the release name my-release at version 0.3.6:

helm repo add colearendt https://colearendt.github.io/helm
helm install my-release colearendt/postgrest --version=0.3.6

A Helm chart for deploying Postgrest to Kubernetes

Values

KeyTypeDefaultDescription
affinityobject{}
argslist[]
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
commandlist[]
extraObjectslist[]Extra kubernetes objects to deploy (value evaluted as a template)
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"postgrest/postgrest"
image.tagstring""
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
initContainersobject{}
nameOverridestring""
nodeSelectorobject{}
pod.adminPortint9001The admin server port for PostgREST. Automatically sets the adminServerPort configuration value.
pod.annotationsobject{}
pod.containerPortint9000
pod.envlist[]
pod.livenessProbeobject{}
pod.readinessProbeobject{"httpGet":{"path":"/ready","port":"http-admin"},"initialDelaySeconds":5,"periodSeconds":5}The readiness probe for PostgREST. Can also use requests to /live per https://postgrest.org/en/stable/references/admin.html#health-check
pod.securityContextobject{}
pod.startupProbeobject{}
pod.volumeMountslist[]
pod.volumeslist[]
postgrest.dbAnonRolestring""
postgrest.dbChannelstring""
postgrest.dbChannelEnabledstring""
postgrest.dbExtraSearchPathstring""
postgrest.dbPoolstring""
postgrest.dbPoolTimeoutstring""
postgrest.dbSchemastring""
postgrest.dbUristring""The dbUri for connecting to the database. Required
postgrest.jwtAudstring""
postgrest.jwtSecretstring""The JWT Secret used for constructing JWTs. Required
postgrest.maxRowsstring""
postgrest.openApiServerProxyUristring""
postgrest.preRequeststring""
postgrest.rawMediaTypesstring""
postgrest.roleClaimKeystring""
postgrest.rootSpecstring""
postgrest.secretIsBase64string""
postgrest.serverHoststring""
postgrest.serverPortstring"9000"
replicaCountint1
resourcesobject{}
secretobject{}
securityContextobject{}
service.adminPortint9001
service.portint80
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
strategy.rollingUpdate.maxSurgestring"25%"
strategy.rollingUpdate.maxUnavailablestring"25%"
strategy.typestring"RollingUpdate"
tolerationslist[]
versionOverridestring""

Autogenerated from chart metadata using helm-docs v1.5.0

Deploy postgrest with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has postgrest 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 chartpostgrest is pinned at v0.3.6 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