Skip to content

Improve security of webhook mounted on 0.0.0.0 #23

Description

@sshine

The README currently says,

Run it as a sidecar, on loopback. The provider endpoints have no authentication. Binding them to 0.0.0.0 grants DNS write access to every pod that can reach the port; the webhook warns at startup if you do.

This warning should be upgraded as a failure to run, and allowing it to run on 0.0.0.0 should only be allowed by explicitly setting a variable. By that measure, the webhook is never accidentally exposed by someone who doesn't read warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions