opened
chandras-xl
username_0
<!-- Thanks for filing an issue! Before hitting the button, please answer these questions. It's helpful to search the existing GitHub issues first. It's likely that another user has already reported the issue you're facing, or it's a known issue that we're already aware of 

Fill in as much of the template below as you can.  If you leave out information, we can't help you as well.

Be ready for followup questions, and please respond in a timely manner. If we can't reproduce a bug or think a feature already exists, we might close your issue.  If we're wrong, PLEASE feel free to reopen it and explain why.
-->

**Describe the bug**
   I want to create DB schemas when the patroni containers start. Currently am doing it manually by exec into the pod, I want to automate that and it should create when the container starts.  How exactly can we do that, Is it possible to create the DB schema upfront? if yes, what all the files that I need to change?

**Version of Helm and Kubernetes**:  
helm version
v3.2.4

Kubernetes version:
v1.18.6

**Which chart**: incubator/patroni


**What happened**:  I need to create the DB schemas manually after the patroni container starts by exec into the pod


**What you expected to happen**: How to create the DB schema automatically during the container startup


**How to reproduce it** (as minimally and precisely as possible):


**Anything else we need to know**:
[charts/incubator/patroni/]: How to create db schema during the patroni container startup
issue