mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-24 04:26:40 +10:00
* [bitnami/postgresql] Fix extraInitContainers usage
Use postgresql.tplValue template to render extraInitContainers
The current implementation results in a syntax error when creating an
instance of the chart utilizing an initContainer.
Something as simple as:
```
master:
extraInitContainers:
- name: init-example
image: alpine:latest
command: ["echo" , "hello"]
```
Results in:
Error: template: hifive/charts/postgresql/templates/statefulset.yaml:116:21: executing "hifive/charts/postgresql/templates/statefulset.yaml" at <.Values.master.extraInitContainers>: wrong type for value; expected string; got []interface {}
* [bitnami/postgresql] Update components versions
Signed-off-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>