PrefectHQ / prefect-helm

Helm charts for deploying Prefect Services
Apache License 2.0
83 stars 54 forks source link

Feature request: read external postgres host from secret #309

Closed ianonavy closed 4 months ago

ianonavy commented 4 months ago

Hi, hope this finds you well!

As a helm chart user, I'd like $host from this part of _helpers.tpl to additionally read the hostname from the existingSecret if applicable so that dynamically generated hostnames don't need to be hard coded in the values.yaml.

Our specific use case is having Terraformed an RDS instance—we need the hostname to be read from the secret so that our operators don't have to manually copy/paste that part of the connection string. Thanks in advance!

ianonavy commented 4 months ago

Never mind, sorry! I misunderstood the logic. externalHostname is ignored when using existingSecret!