[Issue 523] Fix logic for createDatabase.enabled variable
What was changed
Fixed logic flow for .Values.schema.createDatabase.enabled to allow creating databases if they are not provisioned beforehand.
Why?
See bug described in https://github.com/temporalio/helm-charts/issues/523
Checklist
-
Closes 523
-
How was this tested:
helm template . -f values/values.postgresql.yaml --debug > test.yamland inspecting content of the resulting manifest. Tested for
-
.Values.schema.createDatabase.enabled=true -
.Values.schema.createDatabase.enabled=false
- Any docs updates needed? N/A
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Should be fixed by #522, please test this and let me know.
Please let me know if #522 does not fix this for you, I'll re-open.
Tested just now and can see create-default-store and create-visibility-store init containers are rendered. Thank you @robholland !