-
Notifications
You must be signed in to change notification settings - Fork 659
[release-4.15] OCPBUGS-59997: Remove the devconsole backend common internet proxy and replace it with dedicated ones #15359
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
Conversation
…th dedicated ones Signed-off-by: Lucifergene <[email protected]>
@vikram-raj: This pull request references Jira Issue OCPBUGS-59997, 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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@vikram-raj: This pull request references Jira Issue OCPBUGS-59997, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: 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 openshift-eng/jira-lifecycle-plugin repository. |
/assign @jhadvig |
pkg/devconsole/webhooks/webhooks.go
Outdated
} | ||
|
||
for key, values := range headers { | ||
if slices.Contains(proxyHeaderDenyList, key) { |
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.
Looks like we will need to manually implement the replacement.
// contains checks if a slice contains a string value (replaces slices.Contains for Go 1.20 compatibility)
func contains(slice []string, item string) bool {
for _, s := range slice {
if s == item {
return true
}
}
return false
}
...
if contains(proxyHeaderDenyList, key) {
...
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.
/lgtm
/label backport-risk-assessed
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhadvig, vikram-raj 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 |
1 similar comment
1 similar comment
/retest |
@vikram-raj: all tests passed! 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-sigs/prow repository. I understand the commands that are listed here. |
69615d5
into
openshift:release-4.15
@vikram-raj: Jira Issue OCPBUGS-59997: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-59997 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 openshift-eng/jira-lifecycle-plugin repository. |
[ART PR BUILD NOTIFIER] Distgit: openshift-enterprise-console |
/cherry-pick release-4.14 |
@vikram-raj: #15359 failed to apply on top of branch "release-4.14":
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-sigs/prow repository. |
Fix included in accepted release 4.15.0-0.nightly-2025-08-20-015949 |
Manual cherry-pick of PR #15072