Skip to content

Commit 502e171

Browse files
committed
Auto-fix fixable linter issues
1 parent c1fdeb0 commit 502e171

File tree

365 files changed

+9031
-9237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+9031
-9237
lines changed

apiserver/v1/types_apirequestcount.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ type APIRequestCount struct {
3535
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
3636

3737
// spec defines the characteristics of the resource.
38-
// +kubebuilder:validation:Required
3938
// +required
4039
Spec APIRequestCountSpec `json:"spec"`
4140

@@ -126,7 +125,7 @@ type PerNodeAPIRequestLog struct {
126125
// PerUserAPIRequestCount contains logs of a user's requests.
127126
type PerUserAPIRequestCount struct {
128127

129-
// userName that made the request.
128+
// username that made the request.
130129
// +kubebuilder:validation:MaxLength=512
131130
UserName string `json:"username"`
132131

apiserver/v1/zz_generated.crd-manifests/kube-apiserver_apirequestcounts.crd.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ spec:
186186
maxLength: 1024
187187
type: string
188188
username:
189-
description: userName that made the request.
189+
description: username that made the request.
190190
maxLength: 512
191191
type: string
192192
required:
@@ -282,7 +282,7 @@ spec:
282282
maxLength: 1024
283283
type: string
284284
username:
285-
description: userName that made the request.
285+
description: username that made the request.
286286
maxLength: 512
287287
type: string
288288
required:

apiserver/v1/zz_generated.featuregated-crd-manifests/apirequestcounts.apiserver.openshift.io/AAA_ungated.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ spec:
187187
maxLength: 1024
188188
type: string
189189
username:
190-
description: userName that made the request.
190+
description: username that made the request.
191191
maxLength: 512
192192
type: string
193193
required:
@@ -283,7 +283,7 @@ spec:
283283
maxLength: 1024
284284
type: string
285285
username:
286-
description: userName that made the request.
286+
description: username that made the request.
287287
maxLength: 512
288288
type: string
289289
required:

apiserver/v1/zz_generated.swagger_doc_generated.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/v1/generated.proto

+80-80
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/v1/types.go

+80-80
Large diffs are not rendered by default.

apps/v1/zz_generated.swagger_doc_generated.go

+80-80
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authorization/v1/generated.proto

+67-67
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authorization/v1/types.go

+67-67
Large diffs are not rendered by default.

authorization/v1/zz_generated.crd-manifests/0000_03_config-operator_01_rolebindingrestrictions.crd.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ spec:
4747
metadata:
4848
type: object
4949
spec:
50-
description: Spec defines the matcher.
50+
description: spec defines the matcher.
5151
properties:
5252
grouprestriction:
53-
description: GroupRestriction matches against group subjects.
53+
description: grouprestriction matches against group subjects.
5454
nullable: true
5555
properties:
5656
groups:
5757
description: |-
58-
Groups is a list of groups used to match against an individual user's
58+
groups is a list of groups used to match against an individual user's
5959
groups. If the user is a member of one of the whitelisted groups, the user
6060
is allowed to be bound to a role.
6161
items:
@@ -118,30 +118,30 @@ spec:
118118
type: array
119119
type: object
120120
serviceaccountrestriction:
121-
description: ServiceAccountRestriction matches against service-account
121+
description: serviceaccountrestriction matches against service-account
122122
subjects.
123123
nullable: true
124124
properties:
125125
namespaces:
126-
description: Namespaces specifies a list of literal namespace
126+
description: namespaces specifies a list of literal namespace
127127
names.
128128
items:
129129
type: string
130130
type: array
131131
serviceaccounts:
132-
description: ServiceAccounts specifies a list of literal service-account
132+
description: serviceaccounts specifies a list of literal service-account
133133
names.
134134
items:
135135
description: |-
136136
ServiceAccountReference specifies a service account and namespace by their
137137
names.
138138
properties:
139139
name:
140-
description: Name is the name of the service account.
140+
description: name is the name of the service account.
141141
type: string
142142
namespace:
143143
description: |-
144-
Namespace is the namespace of the service account. Service accounts from
144+
namespace is the namespace of the service account. Service accounts from
145145
inside the whitelisted namespaces are allowed to be bound to roles. If
146146
Namespace is empty, then the namespace of the RoleBindingRestriction in
147147
which the ServiceAccountReference is embedded is used.
@@ -150,11 +150,11 @@ spec:
150150
type: array
151151
type: object
152152
userrestriction:
153-
description: UserRestriction matches against user subjects.
153+
description: userrestriction matches against user subjects.
154154
nullable: true
155155
properties:
156156
groups:
157-
description: Groups specifies a list of literal group names.
157+
description: groups specifies a list of literal group names.
158158
items:
159159
type: string
160160
nullable: true
@@ -214,7 +214,7 @@ spec:
214214
nullable: true
215215
type: array
216216
users:
217-
description: Users specifies a list of literal user names.
217+
description: users specifies a list of literal user names.
218218
items:
219219
type: string
220220
type: array

authorization/v1/zz_generated.featuregated-crd-manifests/rolebindingrestrictions.authorization.openshift.io/AAA_ungated.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ spec:
4848
metadata:
4949
type: object
5050
spec:
51-
description: Spec defines the matcher.
51+
description: spec defines the matcher.
5252
properties:
5353
grouprestriction:
54-
description: GroupRestriction matches against group subjects.
54+
description: grouprestriction matches against group subjects.
5555
nullable: true
5656
properties:
5757
groups:
5858
description: |-
59-
Groups is a list of groups used to match against an individual user's
59+
groups is a list of groups used to match against an individual user's
6060
groups. If the user is a member of one of the whitelisted groups, the user
6161
is allowed to be bound to a role.
6262
items:
@@ -119,30 +119,30 @@ spec:
119119
type: array
120120
type: object
121121
serviceaccountrestriction:
122-
description: ServiceAccountRestriction matches against service-account
122+
description: serviceaccountrestriction matches against service-account
123123
subjects.
124124
nullable: true
125125
properties:
126126
namespaces:
127-
description: Namespaces specifies a list of literal namespace
127+
description: namespaces specifies a list of literal namespace
128128
names.
129129
items:
130130
type: string
131131
type: array
132132
serviceaccounts:
133-
description: ServiceAccounts specifies a list of literal service-account
133+
description: serviceaccounts specifies a list of literal service-account
134134
names.
135135
items:
136136
description: |-
137137
ServiceAccountReference specifies a service account and namespace by their
138138
names.
139139
properties:
140140
name:
141-
description: Name is the name of the service account.
141+
description: name is the name of the service account.
142142
type: string
143143
namespace:
144144
description: |-
145-
Namespace is the namespace of the service account. Service accounts from
145+
namespace is the namespace of the service account. Service accounts from
146146
inside the whitelisted namespaces are allowed to be bound to roles. If
147147
Namespace is empty, then the namespace of the RoleBindingRestriction in
148148
which the ServiceAccountReference is embedded is used.
@@ -151,11 +151,11 @@ spec:
151151
type: array
152152
type: object
153153
userrestriction:
154-
description: UserRestriction matches against user subjects.
154+
description: userrestriction matches against user subjects.
155155
nullable: true
156156
properties:
157157
groups:
158-
description: Groups specifies a list of literal group names.
158+
description: groups specifies a list of literal group names.
159159
items:
160160
type: string
161161
nullable: true
@@ -215,7 +215,7 @@ spec:
215215
nullable: true
216216
type: array
217217
users:
218-
description: Users specifies a list of literal user names.
218+
description: users specifies a list of literal user names.
219219
items:
220220
type: string
221221
type: array

0 commit comments

Comments
 (0)