Skip to content

Make API server bind address configurable #2883

Open
@szvincze

Description

@szvincze
  • Which image of the operator are you using? ghcr.io/zalando/postgres-operator:v1.14.0 and older
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? Bare Metal K8s
  • Are you running Postgres Operator in production? yes
  • Type of issue? Feature request
time="2025-03-21T16:48:14Z" level=info msg="listening on :8080" pkg=apiserver

It is a requirement in our deployments to be able to bind the services to a certain interface instead of 0.0.0.0 or [::]. For security reasons it is a good practice to use localhost (127.0.0.1) as bind address.
In the current implementation of postgres-operator the port of the API server is configurable but the address is not.
It would be needed to make the address configurable too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions