Skip to content

[kube-prometheus-stack] Add httpHeaders Field to ScrapeConfig CRD #5000

Open
@mai96shani

Description

@mai96shani

Is your feature request related to a problem ?

No

Describe the solution you'd like.

Hi,

The latest kube-prometheus-stack chart uses Prometheus v2.55.1, as specified in the values.yaml file:

Prometheus v2.55.1 supports the http_headers field in scrape_config, as documented here:
https://prometheus.io/docs/prometheus/2.55/configuration/configuration/#scrape_config

However, the ScrapeConfig CRD in the kube-prometheus-stack chart does not currently support httpHeaders:
https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/charts/crds/crds/crd-scrapeconfigs.yaml

Could the httpHeaders field be added to the ScrapeConfig CRD to align with Prometheus v2.55.1 functionality?

Use Case - Adding this field would allow users to configure HTTP headers directly in their ScrapeConfig CRDs, enabling more flexible scrape configurations.

Thank you for your time and consideration in reviewing this feature request!

Describe alternatives you've considered.

NONE

Additional context.

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions