04/19/2023, 7:00 AM
Hi, we are using prefect 2.8.4 and planning to upgrade. I took the latest helm files and updated the same values for postgres which is externally hosted. in existingSecret field, we have 2 values -> connection-string and password and our password starts with numeric and not lowercase alphabet. It works fine with the current version but upgrading it to latest version gives this error
a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. '<|>', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'
Is there something that can be done without updating the password as the same database is being used at multiple places and changing the password would be a lot

Pēteris Kļaviņš

04/19/2023, 7:46 AM
I’m guessing that it’s not complaining about your password at all, don’t worry, but check that your hostname conforms to what the error message is saying. Maybe your hostname has uppercase characters in it? On the internet, it’s fine to replace uppercase characters in hostnames with lowercase ones, try that.


04/19/2023, 7:48 AM
that's what the problem is. everything except password is alphanumeric, starts with (and only has) alphanumeric characters and only has '.' and '-'