- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for NoOpinion (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/authorization/path/path_test.go
"k8s.io/apiserver/pkg/authorization/authorizer" ) func TestNewAuthorizer(t *testing.T) { tests := []struct { name string excludedPaths []string allowed, denied, noOpinion []string wantErr bool }{ {"inner star", []string{"/foo*bar"}, nil, nil, nil, true}, {"double star", []string{"/foo**"}, nil, nil, nil, true}, {"empty", nil, nil, nil, []string{"/"}, false},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/union/union.go
// decision that is either an Allow decision or a Deny decision. If a // subauthorizer returns a NoOpinion, then the union authorizer moves onto the // next authorizer or, if the subauthorizer was the last authorizer, returns // NoOpinion as the aggregate decision. I.e. union authorizer creates an // aggregate decision and supports short-circuit allows and denies from // subauthorizers.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 28 20:27:28 UTC 2020 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
UnauthorizedTTL: metav1.Duration{Duration: 30 * time.Second}, FailurePolicy: "NoOpinion", SubjectAccessReviewVersion: "v1", MatchConditionSubjectAccessReviewVersion: "v1", ConnectionInfo: api.WebhookConnectionInfo{ Type: "InClusterConfig", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 87.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go
} const ( TypeWebhook AuthorizerType = "Webhook" FailurePolicyNoOpinion string = "NoOpinion" FailurePolicyDeny string = "Deny" AuthorizationWebhookConnectionInfoTypeKubeConfigFile string = "KubeConfigFile"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 00:57:24 UTC 2024 - 14.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics_test.go
apiserver_authorization_webhook_duration_seconds_count{name="wh1.example.com",result="timeout"} 1 # HELP apiserver_authorization_webhook_evaluations_fail_open_total [ALPHA] NoOpinion results due to webhook timeout or error. # TYPE apiserver_authorization_webhook_evaluations_fail_open_total counter
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics.go
webhookFailOpen = compbasemetrics.NewCounterVec( &compbasemetrics.CounterOpts{ Namespace: namespace, Subsystem: subsystem, Name: "webhook_evaluations_fail_open_total", Help: "NoOpinion results due to webhook timeout or error.", StabilityLevel: compbasemetrics.ALPHA, }, []string{"name", "result"}, ) ) type webhookMetrics struct{} func NewWebhookMetrics() WebhookMetrics {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go
} const ( TypeWebhook AuthorizerType = "Webhook" FailurePolicyNoOpinion string = "NoOpinion" FailurePolicyDeny string = "Deny" AuthorizationWebhookConnectionInfoTypeKubeConfigFile string = "KubeConfigFile"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
matches, err := w.match(ctx, r) // If at least one matchCondition evaluates to an error (but none are FALSE): // If failurePolicy=Deny, then the webhook rejects the request // If failurePolicy=NoOpinion, then the error is ignored and the webhook is skipped if err != nil { return w.decisionOnError, "", err } // If at least one matchCondition successfully evaluates to FALSE, // then the webhook is skipped.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go
} const ( TypeWebhook AuthorizerType = "Webhook" FailurePolicyNoOpinion string = "NoOpinion" FailurePolicyDeny string = "Deny" AuthorizationWebhookConnectionInfoTypeKubeConfigFile string = "KubeConfigFile"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 26.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
case api.FailurePolicyNoOpinion, api.FailurePolicyDeny: default: allErrs = append(allErrs, field.NotSupported(fldPath.Child("failurePolicy"), c.FailurePolicy, []string{"NoOpinion", "Deny"})) } switch c.ConnectionInfo.Type { case "": allErrs = append(allErrs, field.Required(fldPath.Child("connectionInfo", "type"), "")) case api.AuthorizationWebhookConnectionInfoTypeInCluster:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0)