-
Notifications
You must be signed in to change notification settings - Fork 382
Add feature flag for making instance/binding locks optional #1917
Conversation
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 - i believe this was hashed through in #1872
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, but would prefer for @duglin to validate.
pkg/features/features.go
Outdated
AsyncBindingOperations: {Default: false, PreRelease: utilfeature.Alpha}, | ||
NamespacedServiceBroker: {Default: false, PreRelease: utilfeature.Alpha}, | ||
ResponseSchema: {Default: false, PreRelease: utilfeature.Alpha}, | ||
OriginatingIdentityLocking: {Default: true, PreRelease: utilfeature.Alpha}, |
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.
@duglin I think this is set up the way we want.
// If the OriginatingIdentityLocking feature is set then don't allow spec updates | ||
// if processing of the current generation hasn't finished yet | ||
if utilfeature.DefaultFeatureGate.Enabled(scfeatures.OriginatingIdentityLocking) { | ||
if old.Generation != new.Generation && old.Status.ReconciledGeneration != old.Generation { |
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.
Can we get this changed so that it allow the request go go thru when its the same user? And the other check below 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.
I don't want to change the behavior in this PR, your change should be a follow-up to this one.
rebase needed |
rebased, conflict was on feature gates between adding url update and adding this flag. |
LGTM once tests pass |
Extracting introduction of the new feature flag from #1872 to make reviews easier through small iterative PRs.