Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

fix: deprecate LISTEN_ADDR in pg_template.yaml#33

Open
vlsi wants to merge 1 commit intoNetcracker:mainfrom
vlsi:deprecate_listen_addr
Open

fix: deprecate LISTEN_ADDR in pg_template.yaml#33
vlsi wants to merge 1 commit intoNetcracker:mainfrom
vlsi:deprecate_listen_addr

Conversation

@vlsi
Copy link

@vlsi vlsi commented Oct 7, 2025

hostname -imight print multiple IP addresses separated with space, so it is a bad fit for the listen address. We should better use*:port` for listen address, which is a static value. An environment variable with a static value does not help much.

We'd better deprecate and remove LISTEN_ADDR variable.

Here's the PR for the removal of LISTEN_ADDR: Netcracker/pgskipper-operator#103

hostname -i` might print multiple IP addresses separated with space,
so it is a bad fit for the listen address. We should better use `*:port` for listen address,
which is a static value. An environment variable with a static value does not help much.
We'd better deprecate and remove LISTEN_ADDR variable.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant