Skip to content
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

Check for secure endpoints for scheduler and kcm in prometheus #22483

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions test/extended/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,9 @@ var _ = g.Describe("[Feature:Prometheus][Conformance] Prometheus", func() {
lastErrs = all(
targets.Expect(labels{"job": "apiserver"}, "up", "^https://.*/metrics$"),
// TODO: add openshift api
// TODO: this should be https
// targets.Expect(labels{"job": "kube-controller-manager"}, "up", "^http://.*/metrics$"),
// TODO: check only for https after merging https://github.com/openshift/cluster-monitoring-operator/pull/308
targets.Expect(labels{"job": "scheduler"}, "up", "^(http|https)://.*/metrics$"),
targets.Expect(labels{"job": "kube-controller-manager"}, "up", "^https://.*/metrics$"),
targets.Expect(labels{"job": "kube-state-metrics"}, "up", "^https://.*/metrics$"),
// TODO: should probably be https
targets.Expect(labels{"job": "cluster-version-operator"}, "up", "^http://.*/metrics$"),
Expand Down