---
#-----------------------------------------------------------------
# PG_REMOVE
#-----------------------------------------------------------------
pg_safeguard: false               # stop pg_remove running if pg_safeguard is enabled, false by default
pg_rm_data: true                  # remove postgres data during remove? true by default
pg_rm_backup: true                # remove pgbackrest backup during primary remove? true by default
pg_rm_pkg: true                   # uninstall postgres packages during remove? true by default

#-----------------------------------------------------------------
# PG_IDENTITY (Reference)
#-----------------------------------------------------------------
pg_mode: pgsql          #CLUSTER  # pgsql cluster mode: pgsql,citus,mssql,mysql,ivory,polar,oracle,gpsql
# pg_cluster:           #CLUSTER  # pgsql cluster name, required identity parameter
# pg_role: replica      #INSTANCE # pgsql role, required, could be primary,replica,offline
# pg_seq: 0             #INSTANCE # pgsql instance seq number, required identity parameter
#-----------------------------------------------------------------
# ETCD (Reference)
#-----------------------------------------------------------------
etcd_port: 2379                   # etcd client port, 2379 by default
etcd_root_password: Etcd.Root     # etcd root password for RBAC
pg_etcd_password: ''              # etcd password for this pg cluster, '' to use pg_cluster
#--------------------------------------------------------------#
# VECTOR (Reference)
#--------------------------------------------------------------#
vector_enabled: true              # enable vector log collector?
#-----------------------------------------------------------------
# GRAFANA (Reference)
#-----------------------------------------------------------------
grafana_enabled: true             # enable grafana on this infra node?
grafana_port: 3000                # grafana listen port, 3000 by default
grafana_admin_username: admin     # default grafana admin username
grafana_admin_password: pigsty    # default grafana admin password
#-----------------------------------------------------------------
# PG_BUSINESS (Reference)
#-----------------------------------------------------------------
pg_databases: []                  # postgres business databases
#-----------------------------------------------------------------
# PG_INSTALL (Reference)
#-----------------------------------------------------------------
pg_dbsu: postgres                 # os dbsu name, postgres by default, better not change it
pg_dbsu_home: /var/lib/pgsql      # postgresql home directory, `/var/lib/pgsql` by default
pg_version: 18                    # postgres major version to be installed, 17 by default
pg_bin_dir: /usr/pgsql/bin        # postgres binary dir, `/usr/pgsql/bin` by default
pg_log_dir: /pg/log/postgres      # postgres log dir, `/pg/log/postgres` by default
pg_packages:                      # pg packages to be installed, alias can be used
  - pgsql-main pgsql-common
pg_extensions: []                 # pg extensions to be installed, alias can be used
#-----------------------------------------------------------------
# PG_BOOTSTRAP (Reference)
#-----------------------------------------------------------------
pg_data: /pg/data                 # postgres data directory, soft link `/pg` by default
pg_fs_main: /data/postgres        # postgres main data directory, `/data/postgres` by default
pg_fs_backup: /data/backups       # postgres backup data directory, `/data/backups` by default
pg_namespace: /pg                 # top level key namespace in etcd, used by patroni & vip
patroni_ssl_enabled: false        # secure patroni RestAPI communications with SSL?
pg_service_provider: ''           # dedicate haproxy node group name, or empty string for local nodes by default
#-----------------------------------------------------------------
# PG_BACKUP (Reference)
#-----------------------------------------------------------------
pgbackrest_enabled: true          # enable pgbackrest on pgsql host?
pgbackrest_method: local          # pgbackrest repo method: local,minio,[user-defined...]
#-----------------------------------------------------------------
# PG_SERVICE (Reference)
#-----------------------------------------------------------------
pg_vip_enabled: false             # enable a l2 vip for pgsql primary? false by default
...