Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -39365,6 +39365,7 @@
"groups": {
"description": "groups specifies group names this user is a member of. This field is deprecated and will be removed in a future release. Instead, create a Group object containing the name of this User.",
"type": "array",
"default": [],
"items": {
"type": "string",
"default": ""
Expand Down
1 change: 1 addition & 0 deletions user/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type User struct {
// groups specifies group names this user is a member of.
// This field is deprecated and will be removed in a future release.
// Instead, create a Group object containing the name of this User.
// +default=[]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This type is served via an aggregated apiserver and defaulting this here would have no affect AFAIK.

Groups []string `json:"groups" protobuf:"bytes,4,rep,name=groups"`
}

Expand Down