diff --git a/config/crd/bases/toolchain.dev.openshift.com_workspaces.yaml b/config/crd/bases/toolchain.dev.openshift.com_workspaces.yaml index 00cb530d..9be174e0 100644 --- a/config/crd/bases/toolchain.dev.openshift.com_workspaces.yaml +++ b/config/crd/bases/toolchain.dev.openshift.com_workspaces.yaml @@ -64,13 +64,31 @@ spec: when the role in the current binding can be changed - "delete" when the current binding can be deleted - "override" when the current binding is inherited from a parent workspace, - it cannot be updated but it can be overridden by creating + it cannot be updated, but it can be overridden by creating a new binding containing the same MasterUserRecord but different role in the subworkspace.' items: type: string type: array x-kubernetes-list-type: atomic + bindingRequest: + description: BindingRequest provides the name and namespace + of the SpaceBindingRequest that generated the SpaceBinding + resource. It's available only if the binding was generated + using the SpaceBindingRequest mechanism. + properties: + name: + description: Name of the SpaceBindingRequest that generated + the SpaceBinding resource. + type: string + namespace: + description: Namespace of the SpaceBindingRequest that generated + the SpaceBinding resource. + type: string + required: + - name + - namespace + type: object masterUserRecord: description: MasterUserRecord is the name of the user that has access to the workspace. This field is immutable via a validating diff --git a/go.mod b/go.mod index ddef35dc..b02784da 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/codeready-toolchain/member-operator require ( - github.com/codeready-toolchain/api v0.0.0-20230918195153-739e8fb09a33 + github.com/codeready-toolchain/api v0.0.0-20231010090546-098b27b43b3a github.com/codeready-toolchain/toolchain-common v0.0.0-20230920120310-0f59f17bca92 github.com/go-logr/logr v1.2.3 github.com/google/go-cmp v0.5.9 diff --git a/go.sum b/go.sum index cd9ceb15..76678a89 100644 --- a/go.sum +++ b/go.sum @@ -134,8 +134,8 @@ github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWH github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= -github.com/codeready-toolchain/api v0.0.0-20230918195153-739e8fb09a33 h1:hxXfcFq2JgFISVxrkISg8m9DZMzpcPWRjPspx3M3Sxo= -github.com/codeready-toolchain/api v0.0.0-20230918195153-739e8fb09a33/go.mod h1:nn3W6eKb9PFIVwSwZW7wDeLACMBOwAV+4kddGuN+ARM= +github.com/codeready-toolchain/api v0.0.0-20231010090546-098b27b43b3a h1:UucbKqQ0bz9xe/Hr6kbrJkPK0YzCn2bdFwGme5rCfuU= +github.com/codeready-toolchain/api v0.0.0-20231010090546-098b27b43b3a/go.mod h1:nn3W6eKb9PFIVwSwZW7wDeLACMBOwAV+4kddGuN+ARM= github.com/codeready-toolchain/toolchain-common v0.0.0-20230920120310-0f59f17bca92 h1:9gcDMkjSAjxM3RLUYCHv9prCDwdi7IgAWpTwTsDpGL8= github.com/codeready-toolchain/toolchain-common v0.0.0-20230920120310-0f59f17bca92/go.mod h1:+rs3V8do2s0DzGPyCy2sgnvUs9GfSi5RVWx+AZC+cTM= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=