Manjusaka
0843c4dfca
Add extra value validation for matchExpression field in LabelSelector
2022-11-07 20:48:21 -05:00
卢振兴10069964
17889cc3ad
code cleanup:fix broken link in validation
2021-05-08 09:01:57 +08:00
tanshanshan
d300706683
fixdup
2018-07-14 14:13:28 +08:00
Monis Khan
fc6ee7e782
Export RBAC validation functions
...
This change exports the RBAC validation functions to allow types
outside of the RBAC API group to embed a RBAC type and reuse this
validation logic. Note that only ValidateRBACName,
ValidatePolicyRule and ValidateRoleBindingSubject were exported.
The rest of the functions were already exported.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-04-19 11:01:07 -04:00
David Eads
0f0a5223df
rbac api changes for aggregation
2017-11-13 08:14:37 -05:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Jordan Liggitt
2a76fa1c8f
Switch RBAC subject apiVersion to apiGroup in v1beta1
2017-02-13 15:33:09 -05:00
deads2k
c6fd6941a1
move pkg/api/validation/path to apimachinery
2017-01-27 08:49:29 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
deads2k
8c788233e7
change rbac roleref type
2016-09-09 09:55:51 -04:00
Kubernetes Submit Queue
bf9a62035d
Merge pull request #31289 from deads2k/remove-cast-utilities
...
Automatic merge from submit-queue
remove cast utilities from rbac
Casting functions like these are a source of pain in OpenShift. We should eliminate them to avoid drift problems like we've had downstream.
@kubernetes/sig-auth
@ericchiang ptal
2016-09-08 08:23:01 -07:00
deads2k
da32d31aac
remove cast utilities from rbac
2016-08-30 09:55:34 -04:00
Kris
e87edf9bd5
Split path validation into a separate library
2016-08-26 08:05:20 -07:00
Eric Chiang
93947663d9
RBAC: don't allow rules to mix non-resource URLs and resources
2016-08-02 13:33:34 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Eric Chiang
88119903e5
pkg/apis/rbac: make apiversion optional for subjects and fix validation
2016-06-13 15:02:48 -07:00
Eric Chiang
e3604e2590
add validation to rbac group and apply small cleanups
2016-05-25 14:19:04 -07:00
Tim Hockin
152c86ab06
Make name validators return string slices
2016-05-18 00:48:01 -07:00
Eric Chiang
6a1f46895e
pkg/apis: rbac types added
2016-05-11 12:01:06 +02:00