Skip to content

Lowercase scheme for Prometheus ScrapeConfig #3446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alex-berger
Copy link
Contributor

Prometheus Operator ScrapeConfig CRD requires spec.scheme to be uppercase "HTTP" or "HTTPS", but the implementation expects lowercase "http"or"https"` in the final scrape configuration.

PR Description

Which issue(s) this PR fixes

Fixes #3386

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Tests updated
  • Config converters updated

@alex-berger alex-berger requested a review from a team as a code owner April 24, 2025 21:05
@CLAassistant
Copy link

CLAassistant commented Apr 24, 2025

CLA assistant check
All committers have signed the CLA.

@ptodev
Copy link
Collaborator

ptodev commented Apr 28, 2025

LGTM, thank you! We have a few issues with our CI since we're rotating a few CI parameters at the moment... we can merge this change in a day or two when the CI is working well and after the branch is rebased.

@alex-berger alex-berger force-pushed the fix/scape-config-schema-casing branch from 574114e to 4e92ee2 Compare April 29, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prometheus Operator ScrapeConfig CRD support creates invalid scrape_config
3 participants