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
Add kube-rbac-proxy for alerts/rules in front of Thanos querier #736
Add kube-rbac-proxy for alerts/rules in front of Thanos querier #736
Conversation
a4ac20f
to
d7b8427
Compare
/test generate |
d7b8427
to
1fec143
Compare
feef6d9
to
3f8d65f
Compare
3f8d65f
to
1f6852d
Compare
/hold |
518f604
to
4ef8d36
Compare
4ef8d36
to
e047fcb
Compare
/test e2e-aws-operator |
e047fcb
to
d0ab68a
Compare
/retest e2e-aws-operator |
@simonpasquier: The
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
d48b744
to
60d8a13
Compare
60d8a13
to
9a1802f
Compare
It needs a rebase, but lgtm now. |
9a1802f
to
1fd9cef
Compare
5ec419d
to
7ebb5e4
Compare
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
7ebb5e4
to
ac6eb3a
Compare
Tests seemed flaky |
/test vendor |
/retest |
/hold cancel |
@openshift/openshift-team-monitoring this is ready for review at least. |
/lgtm but giving others a chance to review as well as this is a rather large PR /hold |
THANOS_QUERIER_CONTAINER_KUBE_RBAC_PROXY = 2 | ||
THANOS_QUERIER_CONTAINER_PROM_LABEL_PROXY = 3 | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -61,7 +63,8 @@ func TestUserWorkloadMonitoring(t *testing.T) { | |||
{"create prometheus and alertmanager in user namespace", createPrometheusAlertmanagerInUserNamespace}, | |||
{"assert user workload metrics", assertUserWorkloadMetrics}, | |||
{"assert user workload rules", assertUserWorkloadRules}, | |||
{"assert tenancy model is enforced", assertTenancyForMetrics}, | |||
{"assert tenancy model is enforced for metrics", assertTenancyForMetrics}, | |||
{"assert tenancy model is enforced for rules", assertTenancyForRules}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it make sense to add another bullet point in https://issues.redhat.com/browse/MON-1170 to separate out the e2e tenancy test for user workload monitoring into its own e2e scenario?
(not an issue we have to address in this PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since tenancy tests require metrics and alerts in the first place, I would assume that they can be included in the user workload metric tests and alerts (respectively).
}, | ||
) | ||
|
||
t.Logf("Retrieving rules") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: test logs will not be emitted at the time of invocation, but after the test, hence imho this could be removed, but can be done as a follow-up too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most probably a left-over piece. I'll remove it.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brancz, s-urbaniak, simonpasquier The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold I'll address the remaining concerns in a follow-up PR |
/retest Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
No description provided.