-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
oidc provider behind proxy #2256
base: master
Are you sure you want to change the base?
Conversation
This fix allows client to communicate with OIDC provider which located out or company perimeter and requires to use proxy server
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
The committers listed above are authorized under a signed CLA. |
Welcome @SkiAn2007! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: SkiAn2007 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 |
Facing with issues to run tests locally, is there any tests pipeline on PR? |
#2256 (comment) Yes the PR has presubmits. Looks like it was waiting for approval to run. I just triggered the test. |
@@ -420,7 +420,7 @@ def _load_oid_token(self, provider): | |||
return self.token | |||
|
|||
def _refresh_oidc(self, provider): | |||
config = Configuration() | |||
config = Configuration().get_default_copy() |
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.
Can we unit test this?
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.
Who do you mean? As far as I see all tests are passed.
I checked this change locally, and it works.
/assign |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
i think @roycaihw was asking if you could add a new unittest case for this |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This fix allows client to communicate with OIDC provider which located out of company perimeter and requires to use proxy server
Does this PR introduce a user-facing change?
NONE