!6282 修复容器部署pg_hba.conf文件缺少白名单问题

Merge pull request !6282 from zzh/bugfix
This commit is contained in:
opengauss_bot
2024-09-11 02:23:43 +00:00
committed by Gitee

View File

@ -259,6 +259,7 @@ opengauss_setup_hba_conf() {
echo "host replication repuser $OG_SUBNET trust"
fi
} >> "$PGDATA/pg_hba.conf"
sed -i "/# IPv6 local connections:/a host all omm $OG_SUBNET trust" $PGDATA/pg_hba.conf
}
# append parameter to postgres.conf for connections