cowboysysop / charts

Cowboy Sysop Charts
MIT License
113 stars 68 forks source link

flowise: postgresql backup pod fails with `Temporary failure in name resolution` if networkPolicy is enabled #671

Closed lalmeras closed 3 weeks ago

lalmeras commented 3 weeks ago

Flowise chart, when postgresql database and backup cronjob is used, produces a non-working configuration.

Backup pod fail with Temporary failure in name resolution as postgresql service hostname cannot be resolved.

networkPolicy: true is the default setup for bitnami/postgresql. https://github.com/bitnami/charts/blob/eba61bd31721b220163f799a5694d234f677ae1b/bitnami/postgresql/values.yaml#L1328

postgresql:
  backup:
    cronjob:
      networkPolicy:
        enabled: true

This is a bitnami known and fixed issue : https://github.com/bitnami/charts/pull/25534. bitnami/postgresql 15.2.13 includes this PR and modifies networkPolicy to allow DNS trafic. Can you update flowise chart to bitnami/postgresql 15.2.13 ?

sebastien-prudhomme commented 3 weeks ago

Bonjour Laurent, for sure I will do it.

lalmeras commented 3 weeks ago

Thank you for your feedback.

sebastien-prudhomme commented 3 weeks ago

Done in #672 with the update to version 1.8.2