-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api pod fails to start on 2.20.0 upgrade #784
Comments
Hello @jderieg I few days ago there were 2 pull request that added some new customization options for the posgresql connection, maybe that is the issue because your connection looks like is failing, the pull request added the following env variables and default values:
Not sure what is the default schema in RDS because right now by default is using "public" |
yeah, it's using the 'public' schema, and the default port 5432, so that PR shouldn't have affected anything for us by adding those 2 vars and default values. |
OK, I figured it out. The Helm chart specifies a default value in the API block as |
This was because port customization was only available for MYSQL (port 3306) and the value was ignored for PostgreSql |
OK, makes sense. That might be good for people to know that that is a breaking change. If they're using PostgreSQL, but not specifying that port in the helm chart for the API, the upgrade will break. |
I think we can add that comment when we create the release discussion. |
Bug description 🐞
I'm attempting to upgrade Terrakube from 2.19.2 to 2.20.0 in EKS. I'm installing with the helm chart, so I'm also going from chart version 3.14.2 to 3.16.0. I get the following error on the api pod as it starts up. We're using an RDS cluster running PostgreSQL version 16.1 for the terrakube db.
Steps to reproduce
Upgrade from 2.19.2 to 2.20.0 with the aforementioned configuration.
Expected behavior
New pods should come up with no errors.
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: