Easy to use Helm Chart for Kubernetes 1.17+
- Create Kubernetes secret for PGHERO
kubectl create secret generic pghero \
--from-literal=database_url='postgres://user:password@hostname:5432/dbname' \
--from-literal=username='admin' \
--from-literal=password='StrongPassword123'
- Add custom Helm Chart repository
helm repo add custom-pghero https://hlebkanonik.github.io/pghero-helmchart && helm repo update
-
Fill in values.yaml if necessary. If
secretName
exists, then belowdatabase
,pgheroUser
andpgheroUser
fields are not valid -
Install PGHERO helm chart
helm install pghero \
--set secretName=pghero \
custom-pghero/pghero
The following table lists the configurable parameters of the PgHero chart and their default values
Parameter | Description | Default |
---|---|---|
secretName |
PgHero secret name. If secretName exists, then below database and credential fields are not valid |
pghero |
database.user |
DataBase username | "" |
database.password |
DataBase password | "" |
database.url |
DataBase URL | "" |
database.port |
DataBase port | 5432 |
database.dbName |
DataBase name | "" |
pgheroUser |
Login user name | "" |
pgheroPassword |
Login user password | "" |
nodeSelector |
Configurable nodeSelector so that you can target specific nodes for your Elasticsearch cluster | "{}" |
To remove PGHERO use following command:
helm unistall pghero