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
OCPBUGS-11889: disable CORS headers on Thanos querier #1950
Conversation
@machine424: This pull request references Jira Issue OCPBUGS-11889, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
@machine424: This pull request references Jira Issue OCPBUGS-11889, which is invalid:
Comment 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. |
@machine424: This pull request references Jira Issue OCPBUGS-11889, which is invalid:
Comment 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. |
I'll add the possibility to re-enable them using a flag, see the comments on the jira ticket. |
@machine424: This pull request references Jira Issue OCPBUGS-11889, which is invalid:
Comment 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. |
@machine424: This pull request references Jira Issue OCPBUGS-11889, which is invalid:
Comment 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. |
/retest |
/jira refresh |
@machine424: This pull request references Jira Issue OCPBUGS-11889, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
@machine424: This pull request references Jira Issue OCPBUGS-11889, which is valid. 3 validation(s) were run on this bug
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. |
/retest |
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.
One last nit, other this looks good.
@@ -258,6 +258,9 @@ type ThanosQuerierConfig struct { | |||
// The possible values are `error`, `warn`, `info`, and `debug`. | |||
// The default value is `info`. | |||
LogLevel string `json:"logLevel,omitempty"` | |||
// A Boolean flag that enables setting CORS headers. | |||
// The default value is `false`. |
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.
// The default value is `false`. | |
// The default value is `false`. | |
// If enabled, Thanos sets CORS headers to be allowed by all. |
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.
I assume you're talking about Access-Control-Allow-Origin: *
How about?
// A Boolean flag that enables setting CORS headers.
// The headers would allow access from any origin.
// The default value is `false`.
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.
I pushed a this version.
@@ -4,6 +4,7 @@ | |||
|
|||
- [#1937](https://github.com/openshift/cluster-monitoring-operator/pull/1937) Disables btrfs collector | |||
- [#1910](https://github.com/openshift/cluster-monitoring-operator/pull/1910) Add new web console usage metrics | |||
- [#1950](https://github.com/openshift/cluster-monitoring-operator/pull/1950) Disable CORS headers on Thanos querier by defaut and add a flag to enable them back. |
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.
note for the future: you don't have to update the CHANGELOG.md especially for bug fixes as they are tracked/documented in JIRA.
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.
The line is blurry here as this stems from an RFE :)
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.
well this is linked to an OCPBUGS-XXX ticket :)
…add a flag to re-enable them Signed-off-by: Ayoub Mrini <amrini@redhat.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jan--f, machine424 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 |
/retest-required |
/skip |
@machine424: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
@machine424: Jira Issue OCPBUGS-11889: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-11889 has been moved to the MODIFIED state. 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. |
I added CHANGELOG entry for this change.
No user facing changes, so no entry in CHANGELOG was needed.
Change commit message + changelog entry
Backport to 4.12/4.13?