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

Route LDAP IDPs in the oauth server through guest VPC #1680

Merged
merged 1 commit into from Sep 9, 2022

Conversation

alvaroaleman
Copy link
Contributor

@alvaroaleman alvaroaleman commented Aug 17, 2022

This changes makes us route LDAP IDPs in the oauth server to the guest
VPC by:

  • Setting the ALL_PROXY env var to the ldap dialer will use the socks5
    sidecar
  • Extending the socks5 sidecar to optionally resolve everything through
    the guest clusters cluster-dns

Ref https://issues.redhat.com/browse/HOSTEDCP-421

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #

Checklist

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

@@ -127,6 +128,7 @@ func oauthContainerMain() *corev1.Container {
func buildOAuthContainerMain(image string) func(c *corev1.Container) {
return func(c *corev1.Container) {
c.Image = image
c.Image = "quay.io/aleman/debug-pub:oauth-with-proxy-support"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be removed once openshift/library-go#1388 merged and got pulled into the oauth-server
/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 17, 2022
@netlify
Copy link

netlify bot commented Aug 17, 2022

Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 5425819
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/630e4a652398960008944581
😎 Deploy Preview https://deploy-preview-1680--hypershift-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 17, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 17, 2022
@alvaroaleman
Copy link
Contributor Author

/hold cancel

The corresponding change in the oauth-server has been approved

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 2, 2022
This changes makes us route LDAP IDPs in the oauth server to the guest
VPC by:
* Setting the ALL_PROXY env var to the ldap dialer will use the socks5
  sidecar
* Extending the socks5 sidecar to optionally resolve everything through
  the guest clusters cluster-dns
@imain
Copy link
Contributor

imain commented Sep 7, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2022
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD d3bdf54 and 2 for PR HEAD 15f603f in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 062d565 and 1 for PR HEAD 15f603f in total

@alvaroaleman
Copy link
Contributor Author

/retest-required

1 similar comment
@alvaroaleman
Copy link
Contributor Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 9, 2022

@alvaroaleman: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-kubevirt-gcp-ovn 15f603f link false /test e2e-kubevirt-gcp-ovn
ci/prow/capi-provider-agent-sanity 15f603f link false /test capi-provider-agent-sanity

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.

@alvaroaleman
Copy link
Contributor Author

Only the upgrade test failed and that is unrelated
/override ci/prow/e2e-aws

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 9, 2022

@alvaroaleman: Overrode contexts on behalf of alvaroaleman: ci/prow/e2e-aws

In response to this:

Only the upgrade test failed and that is unrelated
/override ci/prow/e2e-aws

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.

@openshift-merge-robot openshift-merge-robot merged commit cb7c55d into openshift:main Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants