$ helm install xray-database bitnami/postgresql --set auth.postgresPassword=secretpassword --version 10.16.2
Once the database is installed, use the below queries to create the Xray database and make sure the user is assigned with necessary privileges.