Skip to content

Conversation

@idlewis
Copy link
Collaborator

@idlewis idlewis commented May 25, 2023

Newer versions of prometheus don't seem to like uppercase

Currently the monitor test passes if you run against an OCP cluster, but fails in Kind clusters. This should now pass everywhere.

This looks like it has been caused by this commit in prometheus:
prometheus-operator/prometheus-operator@28e0383
which has added scheme validation, and only allows 'http' or 'https' as valid values.

@idlewis idlewis requested a review from arturdzm May 30, 2023 14:06
Newer versions of prometheus don't seem to like uppercase
Dockerfile Outdated
FROM registry.access.redhat.com/ubi8 as builder
env PATH=$PATH:/usr/local/go/bin
RUN yum install -y wget
RUN wget --no-verbose --header "Accept: application/octet-stream" "https://golang.org/dl/go1.20.linux-amd64.tar.gz" -O - | tar -xz -C /usr/local/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need this to be multi-platform (x86, ppc64le, etc) and different OS as well (Linux, MacOS, Windows)
This downloads 1.20 (not 1.20.x) version (1.20.4) latest

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, that commit wasn't supposed to be part of the PR, that was an experiment. I'll remove it

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.

3 participants