-
Notifications
You must be signed in to change notification settings - Fork 88
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 Kubernetes host to the no proxy list #1800
Conversation
controllers/che/proxy.go
Outdated
clusterWideProxyConf.NoProxy = deploy.MergeNonProxy(clusterWideProxyConf.NoProxy, cheClusterProxyConf.NoProxy) | ||
return clusterWideProxyConf, nil | ||
} |
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.
clusterWideProxyConf.NoProxy = deploy.MergeNonProxy(clusterWideProxyConf.NoProxy, cheClusterProxyConf.NoProxy) | |
return clusterWideProxyConf, nil | |
} | |
clusterWideProxyConf.NoProxy = deploy.MergeNonProxy(clusterWideProxyConf.NoProxy, cheClusterProxyConf.NoProxy) | |
} | |
return clusterWideProxyConf, nil |
pkg/deploy/proxy.go
Outdated
if noProxy1 == "" && noProxy2 == "" { | ||
return "" | ||
} else if noProxy1 == "" { |
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.
My mistake, pls revert.
Everything looks good here.
c16a638
to
1359043
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tolusha, vinokurig The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@vinokurig: The following tests 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. |
Build 3.12 :: operator_3.x/339: Console, Changes, Git Data |
Add Kubernetes host to the no proxy list
Build 3.12 :: sync-to-downstream_3.x/5992: Console, Changes, Git Data |
Build 3.12 :: push-latest-container-to-quay_3.x/4187: Console, Changes, Git Data |
Build 3.12 :: get-sources-rhpkg-container-build_3.x/5859: devspaces-operator : 3.x :: Build 58193016 : quay.io/devspaces/devspaces-rhel8-operator:3.12-10 |
Build 3.12 :: update-digests_3.x/5593: Console, Changes, Git Data |
Build 3.12 :: operator_3.x/339: Upstream sync done; /DS_CI/sync-to-downstream_3.x/5992 triggered |
Build 3.12 :: operator-bundle_3.x/2557: Console, Changes, Git Data |
Build 3.12 :: sync-to-downstream_3.x/5993: Console, Changes, Git Data |
Build 3.12 :: sync-to-downstream_3.x/6010: Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/5879 triggered; /job/DS_CI/job/dsc_3.x triggered; |
Build 3.12 :: operator-bundle_3.x/2561: Upstream sync done; /DS_CI/sync-to-downstream_3.x/6010 triggered |
Build 3.12 :: dsc_3.x/1757: Console, Changes, Git Data |
Build 3.12 :: operator_3.x/340: Console, Changes, Git Data |
Build 3.12 :: sync-to-downstream_3.x/6017: Console, Changes, Git Data |
Build 3.12 :: push-latest-container-to-quay_3.x/4202: Console, Changes, Git Data |
Build 3.12 :: get-sources-rhpkg-container-build_3.x/5886: devspaces-operator : 3.x :: Build 58249613 : quay.io/devspaces/devspaces-rhel8-operator:3.12-11 |
Build 3.12 :: operator_3.x/340: Upstream sync done; /DS_CI/sync-to-downstream_3.x/6017 triggered |
Build 3.12 :: update-digests_3.x/5618: Console, Changes, Git Data |
Build 3.12 :: update-digests_3.x/5618: No new images detected: nothing to do! |
Build 3.12 :: operator-bundle_3.x/2564: Console, Changes, Git Data |
Build 3.12 :: sync-to-downstream_3.x/6023: Console, Changes, Git Data |
Build 3.12 :: push-latest-container-to-quay_3.x/4210: Console, Changes, Git Data |
Build 3.12 :: sync-to-downstream_3.x/6023: Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/5893 triggered; /job/DS_CI/job/dsc_3.x triggered; |
Build 3.12 :: operator-bundle_3.x/2564: Upstream sync done; /DS_CI/sync-to-downstream_3.x/6023 triggered |
Build 3.12 :: copyIIBsToQuay/2431: Console, Changes, Git Data |
Build 3.12 :: dsc_3.x/1760: Console, Changes, Git Data |
Build 3.12 :: operator-bundle_3.x/2566: Console, Changes, Git Data |
Build 3.12 :: sync-to-downstream_3.x/6028: Console, Changes, Git Data |
Build 3.12 :: push-latest-container-to-quay_3.x/4214: Console, Changes, Git Data |
Build 3.12 :: copyIIBsToQuay/2433: Console, Changes, Git Data |
Build 3.12 :: sync-to-downstream_3.x/6028: Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/5898 triggered; /job/DS_CI/job/dsc_3.x triggered; |
Build 3.12 :: operator-bundle_3.x/2566: Upstream sync done; /DS_CI/sync-to-downstream_3.x/6028 triggered |
Build 3.12 :: dsc_3.x/1762: Console, Changes, Git Data |
What does this PR do?
Add Kubernetes host to the no proxy list
Screenshot/screencast of this PR
What issues does this PR fix or reference?
https://issues.redhat.com/browse/CRW-5421
How to test this PR?
OpenShift
on Minikube
env | grep NO_PROXY
See:
172.30.0.1
is included to the no proxy env variable.PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.