-
Notifications
You must be signed in to change notification settings - Fork 142
feat: add "disabled" mutli cluster strategy #360
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: add "disabled" mutli cluster strategy #360
Conversation
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
) | ||
|
||
const ( | ||
flagVersion = "version" |
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.
these are nice, but I'd have perhaps done this in a separate PR before. Like a "pre factoring".
But since the change is small, this is adding not too much noise. Just as a general statement
|
||
strategy := m.StaticConfig.ClusterProviderStrategy | ||
if strategy == "" { | ||
strategy = "auto-detect (it is advisable to set this explicitly in your 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.
advisable? or recommended?
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.
IMO this should be at most recommended.
…advisable Signed-off-by: Calum Murray <cmurray@redhat.com>
823d46c
to
df0fe04
Compare
LGTM thanks for changing to recommended! |
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.
LGTM, thx!
This PR builds on top of #348 to allow for a "disabled" strategy, as well as a command line flag for disabling the multi cluster support.
To disable multi-cluster, users can start the server with:
Relates to #83