Skip to content

[NET-5399] Add support for querying tokens by service name.#18690

Merged
hashi-derek merged 2 commits intorelease/1.15.xfrom
derekm/NET-5399/improve-token-fetch-1.15
Sep 6, 2023
Merged

[NET-5399] Add support for querying tokens by service name.#18690
hashi-derek merged 2 commits intorelease/1.15.xfrom
derekm/NET-5399/improve-token-fetch-1.15

Conversation

@hashi-derek
Copy link
Contributor

@hashi-derek hashi-derek commented Sep 6, 2023

This is a manual backport of: #18667

Add support for querying tokens by service name

The consul-k8s endpoints controller has a workflow where it fetches all tokens.
This is not performant for large clusters, where there may be a sizable number
of tokens. This commit attempts to alleviate that problem and introduces a new
way to query by the token's service name.
@hashi-derek hashi-derek added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport labels Sep 6, 2023
@github-actions github-actions bot added type/docs Documentation needs to be created/updated/clarified theme/api Relating to the HTTP API interface labels Sep 6, 2023
@hc-github-team-consul-core
Copy link
Collaborator

🤔 This PR has changes in the website/ directory but does not have a type/docs-cherrypick label. If the changes are for the next version, this can be ignored. If they are updates to current docs, attach the label to auto cherrypick to the stable-website branch after merging.

@hashi-derek hashi-derek changed the title Add support for querying tokens by service name. (#18667) [NET-5399] Add support for querying tokens by service name. (#18667) Sep 6, 2023
@hashi-derek hashi-derek changed the title [NET-5399] Add support for querying tokens by service name. (#18667) [NET-5399] Add support for querying tokens by service name. Sep 6, 2023
@hashi-derek hashi-derek requested a review from kisunji September 6, 2023 18:17
@hashi-derek hashi-derek marked this pull request as ready for review September 6, 2023 18:17
@hashi-derek hashi-derek requested review from a team as code owners September 6, 2023 18:17
@hashi-derek hashi-derek merged commit 6939bbd into release/1.15.x Sep 6, 2023
@hashi-derek hashi-derek deleted the derekm/NET-5399/improve-token-fetch-1.15 branch September 6, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport pr/no-changelog PR does not need a corresponding .changelog entry theme/api Relating to the HTTP API interface type/docs Documentation needs to be created/updated/clarified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants