-
Notifications
You must be signed in to change notification settings - Fork 59
Bump FlytePlugins version #469
Conversation
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
@hamersaw do you know why this test runs for so long? is it supposed to take more than six hours? |
@wild-endeavor looks like the codeQL check - looking into it. |
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
This reverts commit 0ea7a9f.
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
@@ -41,7 +41,7 @@ func NewResourceLock(corev1 v1.CoreV1Interface, coordinationV1 v12.CoordinationV | |||
} | |||
|
|||
// Leader id, needs to be unique | |||
return resourcelock.New(resourcelock.ConfigMapsResourceLock, | |||
return resourcelock.New(resourcelock.ConfigMapsLeasesResourceLock, |
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'm not entirely sure, but this change seems to require additional permissions:
apiGroups:
- coordination.k8s.io
resources:
- leases
verbs: ...
If so, this is a breaking change unfortunately.
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.
In fact, this caused a failed deployment for us because we did not have this RBAC permission in place when upgrading to 1.2.0.
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.
@honnix so sorry about not exposing this in the release notes, thanks for tracking it down - it will be added. Are these additional RBAC permissions an issue?
It looks like the ConfigMapLeasesResourceLock
has been the default for a very long time and we should have migrated over sooner. Now support for ConfigMapResourceLock
has been removed.
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.
@hamersaw No worries. Just wanted to give you folks a heads-up. It was fairly easy to solve on our side and it is all good now.
* Bump FlytePlugins version Signed-off-by: Kevin Su <[email protected]> * use ZZZ_DeprecatedClusterName instead Signed-off-by: Kevin Su <[email protected]> * lint Signed-off-by: Kevin Su <[email protected]> * lint Signed-off-by: Kevin Su <[email protected]> * go generate Signed-off-by: Kevin Su <[email protected]> * fix tests Signed-off-by: Kevin Su <[email protected]> * fix tests Signed-off-by: Kevin Su <[email protected]> * update workflow name Signed-off-by: Kevin Su <[email protected]> * add comment Signed-off-by: Kevin Su <[email protected]> * Address comment Signed-off-by: Kevin Su <[email protected]> * fix test Signed-off-by: Kevin Su <[email protected]> * remove cluster name Signed-off-by: Kevin Su <[email protected]> * remove cluster name Signed-off-by: Kevin Su <[email protected]> * test Signed-off-by: Kevin Su <[email protected]> * test Signed-off-by: Kevin Su <[email protected]> * test Signed-off-by: Kevin Su <[email protected]> * fix tests Signed-off-by: Kevin Su <[email protected]> * set timeout Signed-off-by: Kevin Su <[email protected]> * update viper Signed-off-by: Kevin Su <[email protected]> * Revert "update viper" This reverts commit 0ea7a9f. * ping viper 0.9.0 Signed-off-by: Kevin Su <[email protected]> * updated stdlib Signed-off-by: Kevin Su <[email protected]> * nit Signed-off-by: Kevin Su <[email protected]> Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su [email protected]
TL;DR
manager.Options{}
since ClientBuilder is removed from the latest version of controller-runtimeConfigMapsResourceLock
withConfigMapsLeasesResourceLock
sinceConfigMapsResourceLock
is removedType
Are all requirements met?
Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
flyteorg/flyte#2641
Follow-up issue
NA