Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: defenseunicorns/kubernetes-fluent-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.4.1
Choose a base ref
...
head repository: defenseunicorns/kubernetes-fluent-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.4.2
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Feb 21, 2025

  1. fix: prefer tokens from kubernetes/client-node (#569)

    ## Description
    
    This extends the getToken method to accept a string bearer token. The
    bearer token is extracted from the symbol map returned from
    `kubernetes/client-node`. If there is not a bearer it will try to read a
    token from the well-defined service account location. If not, then there
    will not be a token.
    
    We do not need to worry about expiring tokens here because this method
    is called each time a `K8s(..).[call]` is called.
    
    This repo is reproducing the bug and showing how it works in the end. 
    
    https://github.com/cmwylie19/generic-eks-test
    
    ## Related Issue
    
    Fixes #566 
    
    <!-- or -->
    
    Relates to #
    
    ## Type of change
    
    - [ ] Bug fix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Other (security config, docs update, etc)
    
    ## Checklist before merging
    
    - [ ] Test, docs, adr added or updated as needed
    - [ ] [Contributor Guide
    Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
    followed
    
    ---------
    
    Signed-off-by: Case Wylie <cmwylie19@defenseunicorns.com>
    cmwylie19 authored Feb 21, 2025
    Configuration menu
    Copy the full SHA
    68a4de6 View commit details
    Browse the repository at this point in the history
Loading