pmint93/helm-charts

[pgbouncer] tamplate render all `extraSettings` on one line

Closed this issue · 0 comments

pgbouncer-other.ini is malformed when additional settings are provided

how to reproduce:

file custom-values.yaml

extraSettings:
  max_prepared_statements: '100'

Generated configmap :

helm template . -f values.yaml -f custom-values.yaml -s templates/configmap.yaml | tail -4  
    ;; Read additional config from other file
    %include /etc/pgbouncer/pgbouncer-other.ini
  pgbouncer-other.ini: |-
    ignore_startup_parameters = extra_float_digitsmax_prepared_statements = 100

Expected output :

helm template . -f values.yaml -f custom-values.yaml -s templates/configmap.yaml | tail -5  
    ;; Read additional config from other file
    %include /etc/pgbouncer/pgbouncer-other.ini
  pgbouncer-other.ini: |-
    ignore_startup_parameters = extra_float_digits
    max_prepared_statements = 100