Allow scope to be passed as array (#150)
* feat: Allow scope to be passed as array Scopes are currently passed as a scope string, separating scopes by spaces. Clients can grow to many scopes, resulting in a very long string. This change allows us to specify scopes using the property scopeArray. That way, we can separate scopes by newlines. Additionally, this allows us to comment a single scope temporarily or add a comment for a specific scope, e.g. as a reason why that client has this scope granted. * feat: Deprecate scope in favor of scopeArray * feat: Use kubebuilder:deprecatedversion
This commit is contained in:
@ -90,6 +90,7 @@ func StartTestManager(mgr manager.Manager) context.Context {
|
||||
ctx := context.Background()
|
||||
|
||||
go func() {
|
||||
defer GinkgoRecover()
|
||||
defer ctx.Done()
|
||||
Expect(mgr.Start(ctx)).NotTo(HaveOccurred())
|
||||
}()
|
||||
|
Reference in New Issue
Block a user