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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| args | list | [] | |
| autoscaling.enabled | bool | false | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| command | list | [] | |
| extraObjects | list | [] | Extra kubernetes objects to deploy (value evaluted as a template) |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "postgrest/postgrest" | |
| image.tag | string | "" | |
| imagePullSecrets | list | [] | |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| initContainers | object | {} | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| pod.adminPort | int | 9001 | The admin server port for PostgREST. Automatically sets the adminServerPort configuration value. |
| pod.annotations | object | {} | |
| pod.containerPort | int | 9000 | |
| pod.env | list | [] | |
| pod.livenessProbe | object | {} | |
| pod.readinessProbe | object | {"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.securityContext | object | {} | |
| pod.startupProbe | object | {} | |
| pod.volumeMounts | list | [] | |
| pod.volumes | list | [] | |
| postgrest.dbAnonRole | string | "" | |
| postgrest.dbChannel | string | "" | |
| postgrest.dbChannelEnabled | string | "" | |
| postgrest.dbExtraSearchPath | string | "" | |
| postgrest.dbPool | string | "" | |
| postgrest.dbPoolTimeout | string | "" | |
| postgrest.dbSchema | string | "" | |
| postgrest.dbUri | string | "" | The dbUri for connecting to the database. Required |
| postgrest.jwtAud | string | "" | |
| postgrest.jwtSecret | string | "" | The JWT Secret used for constructing JWTs. Required |
| postgrest.maxRows | string | "" | |
| postgrest.openApiServerProxyUri | string | "" | |
| postgrest.preRequest | string | "" | |
| postgrest.rawMediaTypes | string | "" | |
| postgrest.roleClaimKey | string | "" | |
| postgrest.rootSpec | string | "" | |
| postgrest.secretIsBase64 | string | "" | |
| postgrest.serverHost | string | "" | |
| postgrest.serverPort | string | "9000" | |
| replicaCount | int | 1 | |
| resources | object | {} | |
| secret | object | {} | |
| securityContext | object | {} | |
| service.adminPort | int | 9001 | |
| service.port | int | 80 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| strategy.rollingUpdate.maxSurge | string | "25%" | |
| strategy.rollingUpdate.maxUnavailable | string | "25%" | |
| strategy.type | string | "RollingUpdate" | |
| tolerations | list | [] | |
| versionOverride | string | "" |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartpostgrest is pinned at v0.3.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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