- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for PermissionDenied (0.69 sec)
-
samples/extauthz/cmd/extauthz/main_test.go
name: "GRPCv3-deny", isGRPCV3: true, header: "deny", want: int(codes.PermissionDenied), }, { name: "GRPCv2-allow", isGRPCV2: true, header: "allow", want: int(codes.OK), }, { name: "GRPCv2-deny", isGRPCV2: true, header: "deny", want: int(codes.PermissionDenied), }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 23 16:58:02 UTC 2023 - 3.6K bytes - Viewed (0) -
pkg/util/grpc/codes.go
"INVALID_ARGUMENT": codes.InvalidArgument, "DEADLINE_EXCEEDED": codes.DeadlineExceeded, "NOT_FOUND": codes.NotFound, "ALREADY_EXISTS": codes.AlreadyExists, "PERMISSION_DENIED": codes.PermissionDenied, "RESOURCE_EXHAUSTED": codes.ResourceExhausted, "FAILED_PRECONDITION": codes.FailedPrecondition, "ABORTED": codes.Aborted, "OUT_OF_RANGE": codes.OutOfRange,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 06 16:50:02 UTC 2022 - 1.5K bytes - Viewed (0) -
samples/extauthz/cmd/extauthz/main.go
}, { Header: &corev2.HeaderValue{ Key: overrideHeader, Value: overrideGRPCValue, }, }, }, }, }, Status: &status.Status{Code: int32(codes.PermissionDenied)}, } } // Check implements gRPC v2 check request. func (s *extAuthzServerV2) Check(_ context.Context, request *authv2.CheckRequest) (*authv2.CheckResponse, error) { attrs := request.GetAttributes()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:48 UTC 2024 - 10.4K bytes - Viewed (0) -
pilot/pkg/xds/auth.go
id, err := checkConnectionIdentity(con.proxy, identities) if err != nil { log.Warnf("Unauthorized XDS: %v with identity %v: %v", con.Peer(), identities, err) return status.Newf(codes.PermissionDenied, "authorization failed: %v", err).Err() } con.proxy.VerifiedIdentity = id } return nil } func checkConnectionIdentity(proxy *model.Proxy, identities []string) (*spiffe.Identity, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 2.4K bytes - Viewed (0) -
pilot/pkg/xds/debuggen.go
debugType := u.Path identity := proxy.VerifiedIdentity if identity.Namespace != dg.SystemNamespace { if _, ok := activeNamespaceDebuggers[debugType]; !ok { return "", status.Errorf(codes.PermissionDenied, "the debug info is not available for current identity: %q", identity) } } return resourceName, nil } func processDebugRequest(dg *DebugGen, resourceName string) bytes.Buffer {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 18:51:52 UTC 2023 - 4.9K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcgen_test.go
outctx := metadata.NewOutgoingContext(context.Background(), md) _, err = echoc.Echo(outctx, &echoproto.EchoRequest{}) if err == nil { t.Fatal("RBAC rule not enforced") } if status.Code(err) != codes.PermissionDenied { t.Fatal("Unexpected error", err) } t.Log(err) } // From xds_resolver_test // testClientConn is a fake implementation of resolver.ClientConn. All is does
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:04:02 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/test/framework/components/echo/check/checkers.go
} // Forbidden checks that the response indicates that the request was rejected by RBAC. func Forbidden(p protocol.Instance) echo.Checker { switch { case p.IsGRPC(): return ErrorContains("rpc error: code = PermissionDenied") case p.IsTCP(): return ErrorContains("EOF") default: return NoErrorAndStatus(http.StatusForbidden) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 16:19:07 UTC 2023 - 17.5K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
- route: - destination: host: "{{.Destination}}" `).ApplyOrFail(t) src.CallOrFail(t, opt) }) } var CheckDeny = check.Or( check.ErrorContains("rpc error: code = PermissionDenied"), // gRPC check.ErrorContains("EOF"), // TCP envoy check.ErrorContains("read: connection reset by peer"), // TCP ztunnel
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.21.md
- Fix NPE in ephemeral storage eviction ([#98261](https://github.com/kubernetes/kubernetes/pull/98261), [@wzshiming](https://github.com/wzshiming)) [SIG Node] - Fix PermissionDenied issue on SMB mount for Windows ([#99550](https://github.com/kubernetes/kubernetes/pull/99550), [@andyzhangx](https://github.com/andyzhangx))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 14 07:03:14 UTC 2022 - 367.3K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.20.md
- Fix smb mount PermissionDenied issue on Windows ([#99550](https://github.com/kubernetes/kubernetes/pull/99550), [@andyzhangx](https://github.com/andyzhangx)) [SIG Cloud Provider, Storage and Windows]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 19 21:05:45 UTC 2022 - 409K bytes - Viewed (0)