Skip to content

proposal: unify http client and add tls support for druid endpoints #233

@JSchlarb

Description

@JSchlarb

Hi

I've set up apache druid with the operator and enabled tls in the env and encountered several limitations with the current implementation

issues found // resolved
router service url and ports are hardcoded
no tls support for connecting to druid

proposed solution
I'd like to prepared changes that would:

  1. unify all http client creation in a single place with dynamic port/service discovery from the actual druidSpec

  2. add TLKS support (insecureSkipVerify // ca certificates via secret)

  3. add endpoint configuration to druidspec:

    spec:
      endpoint:
        url: "https://external-druid.example.com:8443"
        insecureSkipVerify: false
        caCertSecretRef:
          name: druid-ca-cert
          caKey: ca.cert

questions

are you interested in these enhancements?
if yes, would you prefer: one pr with all changes, or multiple smaller prs (e.g., first unify client, then add tls, then external endpoints)?

I have the code ready and tested (at least running in a cluster). Happy to contribute based on your preferences.

thanks!

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