-
Notifications
You must be signed in to change notification settings - Fork 579
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
rpk: Enable pandaproxy by default #1066
rpk: Enable pandaproxy by default #1066
Conversation
Signed-off-by: Ben Pope <ben@vectorized.io>
Signed-off-by: Ben Pope <ben@vectorized.io>
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.
this looks good to me, we'd need @0x5d to approve this. perhaps the k8s team too.
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.
The rpk part looks good!
Minor question.
@@ -87,6 +87,7 @@ func defaultMap() map[string]interface{} { | |||
var defaultListeners []interface{} = []interface{}{defaultListener} | |||
return map[string]interface{}{ | |||
"config_file": "/etc/redpanda/redpanda.yaml", | |||
"pandaproxy": Pandaproxy{}, |
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.
Should we make all these concrete types instead of maps? (not in this PR of course)
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.
I think it's easier to read and more type-safe as a concrete type, so yeah. Then this function would be replaced with toMap(Default())
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.
I created a ticket #1067 to track this.
Cover letter
Enable pandaproxy by default
Release notes
Release note: Pandaproxy - listen on all interfaces and enable by default