Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 583 for authorizer (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    			},
    		},
    		{
    			name:   "authorizer",
    			policy: authorizerPolicy,
    			schemaToReturn: &spec.Schema{
    				SchemaProps: spec.SchemaProps{
    					Type: []string{"object"},
    					Properties: map[string]spec.Schema{
    						"foo": *spec.StringProperty(),
    					},
    				},
    			},
    			assertions: []assertionFunc{toBeEmpty},
    		},
    		{
    			name:   "authorizer invalid",
    			policy: authorizerInvalidPolicy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
      //   See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
      // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
      //   request resource.
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    // or a value for non-objects such as user and group names.
    type Subject struct {
    	// Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
    	// If the Authorizer does not recognized the kind value, the Authorizer should report an error.
    	Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    	// APIVersion holds the API group and version of the referenced subject.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/config.go

    	Authenticator authenticator.Request
    
    	RequestHeaderConfig *authenticatorfactory.RequestHeaderConfig
    }
    
    type AuthorizationInfo struct {
    	// Authorizer determines whether the subject is allowed to make the request based only
    	// on the RequestURI
    	Authorizer authorizer.Authorizer
    }
    
    func init() {
    	utilruntime.Must(features.AddFeatureGates(utilfeature.DefaultMutableFeatureGate))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  5. pkg/controlplane/instance.go

    		authorizationrest.RESTStorageProvider{Authorizer: c.ControlPlane.Generic.Authorization.Authorizer, RuleResolver: c.ControlPlane.Generic.RuleResolver},
    		autoscalingrest.RESTStorageProvider{},
    		batchrest.RESTStorageProvider{},
    		certificatesrest.RESTStorageProvider{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/options/authorization_test.go

    	"github.com/spf13/pflag"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes"
    )
    
    func TestAuthzValidate(t *testing.T) {
    	examplePolicyFile := "../../auth/authorizer/abac/example_policy_file.jsonl"
    
    	testCases := []struct {
    		name                 string
    		modes                []string
    		policyFile           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 06:28:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics_test.go

    			if err != nil {
    				t.Error("failed to create client")
    				return
    			}
    
    			attr := authorizer.AttributesRecord{User: &user.DefaultInfo{}}
    			_, _, err = wh.Authorize(ctx, attr)
    			if scenario.wantErr {
    				if err == nil {
    					t.Errorf("expected error making authorization request: %v", err)
    				}
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/subject_locator_test.go

    	"testing"
    
    	rbacv1 "k8s.io/api/rbac/v1"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	rbacregistryvalidation "k8s.io/kubernetes/pkg/registry/rbac/validation"
    )
    
    func TestSubjectLocator(t *testing.T) {
    	type actionToSubjects struct {
    		action   authorizer.Attributes
    		subjects []rbacv1.Subject
    	}
    
    	tests := []struct {
    		name                string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 22 12:17:05 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authorization/path/doc.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package path contains an authorizer that allows certain paths and path prefixes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 11 10:32:04 UTC 2018
    - 720 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      //   For example, a variable named 'foo' can be accessed as 'variables.foo'.
      // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
      //   See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
      // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
      //   request resource.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top