Skip to content

[JENKINS-76157] Restore autoconfigure when auth is not null#1752

Merged
Vlatombe merged 2 commits into
jenkinsci:masterfrom
Dohbedoh:JENKINS-76157
Sep 29, 2025
Merged

[JENKINS-76157] Restore autoconfigure when auth is not null#1752
Vlatombe merged 2 commits into
jenkinsci:masterfrom
Dohbedoh:JENKINS-76157

Conversation

@Dohbedoh

@Dohbedoh Dohbedoh commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

JENKINS-76157

Since fabric8io/kubernetes-client#6153, the behavior described to not use autoconfigure ONLY IF there is no auth provided is not respected anymore. If one specifies the Kubernetes URL https://kubernetes.default.svc.cluster.local/ the client is not autoconfigured and use to the default namespace.

  • adding tests that would have passed with Kubernetes client api < 6.13.2
  • set autoconfigure when auth is null

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@Dohbedoh Dohbedoh requested a review from a team as a code owner September 29, 2025 05:37
@Dohbedoh Dohbedoh changed the title [JENKINS-76157] Add tests for Autoconfigure [JENKINS-76157] Restore autoconfigure when auth is null Sep 29, 2025
@Dohbedoh Dohbedoh changed the title [JENKINS-76157] Restore autoconfigure when auth is null [JENKINS-76157] Restore autoconfigure when auth is not null Sep 29, 2025
@Vlatombe Vlatombe added the bug Bug Fixes label Sep 29, 2025
@Vlatombe Vlatombe merged commit b76fc9d into jenkinsci:master Sep 29, 2025
9 checks passed
@Dohbedoh Dohbedoh deleted the JENKINS-76157 branch September 29, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants