mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
vendor updates
This commit is contained in:
3
vendor/k8s.io/kubernetes/pkg/auth/authorizer/abac/BUILD
generated
vendored
3
vendor/k8s.io/kubernetes/pkg/auth/authorizer/abac/BUILD
generated
vendored
@ -35,8 +35,7 @@ go_test(
|
||||
data = [
|
||||
":example_policy",
|
||||
],
|
||||
importpath = "k8s.io/kubernetes/pkg/auth/authorizer/abac",
|
||||
library = ":go_default_library",
|
||||
embed = [":go_default_library"],
|
||||
deps = [
|
||||
"//pkg/apis/abac:go_default_library",
|
||||
"//pkg/apis/abac/v0:go_default_library",
|
||||
|
2
vendor/k8s.io/kubernetes/pkg/auth/authorizer/abac/abac.go
generated
vendored
2
vendor/k8s.io/kubernetes/pkg/auth/authorizer/abac/abac.go
generated
vendored
@ -53,7 +53,7 @@ type policyList []*abac.Policy
|
||||
|
||||
// TODO: Have policies be created via an API call and stored in REST storage.
|
||||
func NewFromFile(path string) (policyList, error) {
|
||||
// File format is one map per line. This allows easy concatentation of files,
|
||||
// File format is one map per line. This allows easy concatenation of files,
|
||||
// comments in files, and identification of errors by line number.
|
||||
file, err := os.Open(path)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user