PostgreSQL Installation with Helm

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

This document refers to the chart downloaded from the Helm stable repository https://github.com/helm/charts/tree/master/stable. Installation documentation for the chart is available in the README.md contained within the chart's archive.

Procedure

Configuration

Setting a Non-Default Master User

The default master user is "postgres" and setting the password for it can be achieved with:

postgresqlPassword: 'something'

The name of the master user can be changed with:

postgresqlUsername: 'someotheruser' # 'postgres' is the default

If 'postgresqlUsername' is used, then 'postgres' remains passwordless, and cannot be used. To also use 'postgres', set the password with 'postgresqlPostgresPassword'. For more details: https://github.com/bitnami/bitnami-docker-postgresql/blob/master/README.md#creating-a-database-user-on-first-run.

Dependent Chart values.yaml

The default master user is "postgres" and setting the password for it can be achieved with:

postgresql:
  postgresqlUsername: 'postgres' # this is the default
  postgresqlPassword: 'something'