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

chore(*) expose dynamic metadata #1516

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

jakubdyszkiewicz
Copy link
Contributor

Summary

Introducing the concept of dynamicMetadata.

There are situations in which you want to pass additional information specific for the instance of the Dataplane. This information is sent from Kuma DP to Kuma CP in bootstrap request. Then it is attached to bootstrap configuration and sent via XDS. XDS generators can then use this information.

We use this flow for example to retrieve information about admin port or dataplane token.

This PR lets you add additional dynamicMetadata in RootContext of Kuma DP which can be then used in XDS generators.

Documentation

  • No docs, internal changes only

Signed-off-by: Jakub Dyszkiewicz <[email protected]>
@jakubdyszkiewicz jakubdyszkiewicz requested a review from a team as a code owner February 4, 2021 15:19
Copy link
Contributor

@bartsmykla bartsmykla left a comment

Choose a reason for hiding this comment

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

lgtm

@jakubdyszkiewicz jakubdyszkiewicz merged commit edd08ec into master Feb 8, 2021
@jakubdyszkiewicz jakubdyszkiewicz deleted the chore/dynamic-bootstrap-meta branch February 8, 2021 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants