Skip to content

Conversation

@mudit06mah
Copy link
Contributor

Summary

This PR adds a flag to allow OIDC authentication for kubeconfig clusters when inCluster mode is false.

Related Issue

Fixes #4481

Changes

  • Added oidc-allow-context flag
  • Added flag logic to use token from cookie if set
  • Modified test name and message

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 29, 2026
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mudit06mah
Once this PR has been reviewed and has the lgtm label, please assign illume for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 29, 2026
@k8s-ci-robot k8s-ci-robot requested review from sniok and yolossn January 29, 2026 15:19
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 29, 2026
@mudit06mah
Copy link
Contributor Author

@illume I have opened a draft PR for now since I am not sure about the approach. Can you please review this and share your opinion?

@mudit06mah
Copy link
Contributor Author

@sniok @yolossn Please Review this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow OIDC authentication for kubeconfig clusters when inCluster mode is false

2 participants