Skip to content

feature: TLS-support for node-local-dns metrics endpoint #692

Open
@nuhakala

Description

@nuhakala

Currently the /metrics endpoint served by node-local-dns does not include support for TLS.

Adding TLS would require at least configuring the location of cert-file and key-file. Additionally adding configuration options to things such as client CA file would make the feature more convenient to use.

At the moment the endpoint configuration contains only the address and port number where to serve the metrics. This is done via command line flag as with the rest of node local DNS configuration. Adding multiple new command line flags to configure TLS seems cumbersome. What is the community opinion on how this should be implemented, I have currently thought of

  • command line flags
  • add configuration file for TLS, whose location is given as command line flag.

Which one is preferred?

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