Skip to content

Bring back parameter ServerExternalAddresses in GenerateToken endpoint#15267

Merged
hashi-derek merged 8 commits intomainfrom
derekm/bring-back-peering-ext-addr
Nov 8, 2022
Merged

Bring back parameter ServerExternalAddresses in GenerateToken endpoint#15267
hashi-derek merged 8 commits intomainfrom
derekm/bring-back-peering-ext-addr

Conversation

@hashi-derek
Copy link
Copy Markdown
Contributor

@hashi-derek hashi-derek commented Nov 4, 2022

This PR finishes up work started in: #15215

Revert "Remove ability to specify external addresses in GenerateToken endpoint (#14930)"
This reverts commit 5e15677.

Originally ServerExternalAddresses were added to support peering across networks in k8s before peering over mesh gateways for the control plane was supported. Support for that parameter was reverted since it was no longer needed for k8s (where mesh gateways are now the required approach for control plane traffic for peering), but bringing it back because it's useful for managed deployments where deploying mesh gateways is currently out of scope.

@github-actions github-actions bot added theme/api Relating to the HTTP API interface theme/cli Flags and documentation for the CLI interface type/docs Documentation needs to be created/updated/clarified labels Nov 4, 2022
@hashi-derek hashi-derek added the pr/no-changelog PR does not need a corresponding .changelog entry label Nov 4, 2022
@hashi-derek hashi-derek changed the title Derekm/bring back peering ext addr Brings back parameter ServerExternalAddresses in GenerateToken endpoint Nov 4, 2022
@hashi-derek hashi-derek changed the title Brings back parameter ServerExternalAddresses in GenerateToken endpoint Bring back parameter ServerExternalAddresses in GenerateToken endpoint Nov 4, 2022
@hashi-derek hashi-derek marked this pull request as ready for review November 4, 2022 18:32
@hashi-derek hashi-derek requested a review from a team as a code owner November 4, 2022 18:32
Copy link
Copy Markdown
Contributor

@erichaberkorn erichaberkorn left a comment

Choose a reason for hiding this comment

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

I wonder if ServerAddresses and ManualServerAddresses should be separate fields that both contain server addresses rather than ManualServerAddresses being a bool. Then we wouldn’t even need to worry about this squashing issue. What do you think?

@hashi-derek hashi-derek force-pushed the derekm/bring-back-peering-ext-addr branch from 5c1e075 to 1b0ce4e Compare November 4, 2022 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-changelog PR does not need a corresponding .changelog entry theme/api Relating to the HTTP API interface theme/cli Flags and documentation for the CLI 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