-
Notifications
You must be signed in to change notification settings - Fork 327
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
feat(kuma-cp) coordinates webservice #369
Conversation
b07aa96
to
1b4016f
Compare
pkg/config/app/kuma-cp/config.go
Outdated
@@ -74,6 +74,8 @@ type Config struct { | |||
Defaults *Defaults `yaml:"defaults"` | |||
// Reports configuration | |||
Reports *Reports `yaml:"reports"` | |||
// Hostname on which Kuma is exposed | |||
Hostname string `yaml:"hostname" envconfig:"kuma_hostname"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's group it under General
field and move it to the top of Config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename it into one of RecommendedHostname
, AdvertisedHostname
, etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What goes to General? Should Environment also be in General?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's start by moving only AdvertisedHostname
into General
.
And we can open a separate issue for doing the same for Environment
.
Yes. There is #314 for that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's all go now. 👍
I would still prefer AdvertisedHostname
to be moved into General
moved into general |
Summary
Endpoint that serves coordinates of various services in Kuma.
Questions
Should Kuma DP also use API Server to retrieve bootstrap coordinates? Right now we configure it with bootstrap url.
Issues resolved
Fix #315