I am using percona-helm-charts repo for installing postgres. i wanted to deploy the timescaledb as part of the pg-db.
I tried to configure in patroni section but that is not working.
Questions
- When patroni section enabled in values.yaml i am getting the error related to expose annoations and labels in cluster.yaml
Error: INSTALLATION FAILED: YAML parse error on pg-db/templates/cluster.yaml: error converting YAML to JSON: yaml: line 99: did not find expected key
values.yaml
patroni:
dynamicConfiguration:
postgresql:
parameters:
shared_preload_libraries: timescaledb
max_connections: 600
max_parallel_workers: 2
max_worker_processes: 2
shared_buffers: 1GB
work_mem: 2MB
cluster.yaml
93 {{- if .Values.expose }}
94 expose:
95 type: {{ .Values.expose.type }}
96 annotations:
97 {{- range $annotation := .Values.expose.annotations}}
98 $annotation
99 {{- end }}
100 labels:
101 {{- range $label := .Values.expose.labels}}
102 $labels
103 {{- end }}
104 {{- end }}
- Where to configure the timescaledb in values.yaml