-
Notifications
You must be signed in to change notification settings - Fork 1
Binami BS
HOA PHAN edited this page May 3, 2023
·
3 revisions
cfg.yaml
primary:
extendedConfiguration: |
log_connections: yes
log_min_messages: DEBUG5
log_min_error_statement: DEBUG5
max_wal_senders: 10
install
helm install myrelease bitnami/postgresql --values cfg.yaml
this will create config Map:
k get configMap myrelease-postgresql-extended-configuration -o yaml
apiVersion: v1
data:
override.conf: |-
log_connections=yes
log_min_messages=DEBUG5
log_min_error_statement=DEBUG5
max_wal_senders=10
kind: ConfigMap
metadata:
annotations:
meta.helm.sh/release-name: myrelease
meta.helm.sh/release-namespace: default
creationTimestamp: "2023-05-03T09:13:58Z"
labels:
app.kubernetes.io/component: primary
app.kubernetes.io/instance: myrelease
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: postgresql
helm.sh/chart: postgresql-12.4.2
name: myrelease-postgresql-extended-configuration
namespace: default
resourceVersion: "914998"
uid: 7921bfad-11f5-410f-95ed-772f1a5d693a
and mount it into
cat /opt/bitnami/postgresql/conf/conf.d/override.conf
log_connections=yes
log_min_messages=DEBUG5
log_min_error_statement=DEBUG5