Skip to content

Commit

Permalink
fix: add missing binding request field (#480)
Browse files Browse the repository at this point in the history
* add binding request field
  • Loading branch information
mfrancisc authored Oct 10, 2023
1 parent 77d165e commit 8b99ad2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
20 changes: 19 additions & 1 deletion config/crd/bases/toolchain.dev.openshift.com_workspaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 8b99ad2

Please sign in to comment.