This chart deploys PostgreSQL on Spin. Update the placeholders in
values_template.yaml, or use the helper script to generate values.yaml.
kubectlandhelminstalled- Access to a Spin namespace and its kubeconfig
See tls-acme/README.md for installation steps for kubectl/helm and kubeconfig.
- Edit
postgresql/prepare-values.shwith your settings. - Generate a rendered values file:
./prepare-values.shThis writes values.yaml (or a custom path if you pass one).
cd postgresql
./prepare-values.sh
helm lint .
helm install -n <namespace> <release-name> .helm install -n <namespace> <release-name> .If your cluster requires LoadBalancer-specific annotations or a fixed IP, set
them under loadBalancer in values.yaml. For example, Harvester DHCP-based
address allocation can require:
loadBalancer:
annotations:
cloudprovider.harvesterhci.io/ipam: dhcphelm upgrade -n <namespace> <release-name> .
helm uninstall -n <namespace> <release-name>- Persistent volume size is controlled by
persistentVolumeClaims.<deployment_name>.size(wheredeployment_namedefaults topsqlinprepare-values.sh). - Liveness and readiness probes use
pg_isreadywith the configured database name and user.