Skip to content

hlebkanonik/pghero-helmchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PgHero Helm Chart

Description

Easy to use Helm Chart for Kubernetes 1.17+

Deployment

  1. 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'
  1. Add custom Helm Chart repository
helm repo add custom-pghero https://hlebkanonik.github.io/pghero-helmchart && helm repo update 
  1. Fill in values.yaml if necessary. If secretName exists, then below database, pgheroUser and pgheroUser fields are not valid

  2. Install PGHERO helm chart

helm install pghero \
  --set secretName=pghero \
  custom-pghero/pghero 

Configuration

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 "{}"

Removal

To remove PGHERO use following command:

helm unistall pghero

Sources: https://github.com/ankane/pghero