-
Notifications
You must be signed in to change notification settings - Fork 382
reenable the controller default relist interval #2125
reenable the controller default relist interval #2125
Conversation
- dump apiserver defaults + validation - dump checks in controller for a set value
) | ||
} | ||
|
||
if spec.RelistBehavior == sc.ServiceBrokerRelistBehaviorManual && spec.RelistDuration != nil { |
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's the defined behavior for a manual relist? I don't quite understand why your change makes it okay to say manual and set a duration.
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.
Manual is "only respond to an increase in the relist-requests, no automated pinging of the broker"
My opinion is that this causes unecessary friction if switching from duration to manual, and that while it doesn't make much sense to explicitly specify manual and duration, it shouldn't be a hard error. Manual should override everything else.
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.
Ah, that makes sense thanks! 👍
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
LGTM |
resolves #2119
/cc @duglin
/assign @duglin