cloudfoundry-community / stratos

Stratos: Web-based Management UI for Cloud Foundry and Kubernetes
MIT License
2 stars 7 forks source link

allow newer pgsql versions #2

Closed itsouvalas closed 11 months ago

itsouvalas commented 11 months ago

[Features]

Description

It creates a direct dependency on github.com/lib/pq@v1.10.9 for jetstream's main application. It updates the indirect dependency on github.com/lib/pq@v1.10.9 for monocular plugin

Motivation and Context

Newer versions of PGSQL default to SCRAM-SHA-256 as a password hashing method. As a result when using PGSQL v10 onwards connection or similar issues would arise when attempting to connect:

2023-10-09T15:24:41.38+0000 [APP/PROC/WEB/0] OUT INFO[Mon Oct  9 15:24:41 UTC 2023] Waiting for database to be responsive: Unable to ping the database: pq: unknown authentication response: 10

Using the latest github.com/lib/pq@v1.10.9 allow for successful communication to the newer versions of PGSQL.

How Has This Been Tested?

Using postgres-bosh-release v47 and by connecting to stratos using cf CUPS, we were able to connect successfully and interact with the application accordingly.

Types of changes

Checklist: