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

Support dynamic bearer tokens (Bound Service Account Token Volume) #11915

Merged
merged 2 commits into from
May 10, 2022

Conversation

ahmed-mez
Copy link
Contributor

What does this PR do?

Support refreshing the service account's auth token needed for Bound Service Account Token Volume (k8s v1.22+)

Motivation

fixes DataDog/datadog-agent#10604

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@github-actions
Copy link

github-actions bot commented May 2, 2022

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

@github-actions
Copy link

github-actions bot commented May 3, 2022

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

@ahmed-mez ahmed-mez removed the request for review from a team May 4, 2022 09:33
@github-actions
Copy link

github-actions bot commented May 4, 2022

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

@github-actions
Copy link

github-actions bot commented May 5, 2022

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

clamoriniere
clamoriniere previously approved these changes May 5, 2022
Copy link
Contributor

@clamoriniere clamoriniere left a comment

Choose a reason for hiding this comment

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

looks good for the bearer token refresh logic

yzhan289
yzhan289 previously approved these changes May 5, 2022
@github-actions
Copy link

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

@ahmed-mez ahmed-mez requested a review from yzhan289 May 10, 2022 10:14
@hithwen hithwen merged commit e396c46 into master May 10, 2022
@hithwen hithwen deleted the ahmed/bound-sa branch May 10, 2022 10:54
github-actions bot pushed a commit that referenced this pull request May 10, 2022
…11915)

* Support dynamic bearer tokens (Bound Service Account Token Volume) e396c46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment