Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 259 for claim (0.04 sec)

  1. pkg/kubeapiserver/options/authentication_test.go

    			},
    		},
    		{
    			name: "groups claim exists",
    			args: []string{
    				"--oidc-issuer-url=https://testIssuerURL",
    				"--oidc-client-id=testClientID",
    				"--oidc-username-claim=sub",
    				"--oidc-username-prefix=-",
    				"--oidc-groups-claim=groups",
    				"--oidc-groups-prefix=oidc:",
    				"--oidc-signing-algs=RS256",
    				"--oidc-required-claim=foo=bar",
    			},
    			expectConfig: kubeauthenticator.Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/state/state_checkpoint.go

    }
    
    // ClaimInfoState is used to store claim info state in a checkpoint
    // +k8s:deepcopy-gen=true
    type ClaimInfoState struct {
    	// Name of the DRA driver
    	DriverName string
    
    	// ClassName is a resource class of the claim
    	ClassName string
    
    	// ClaimUID is an UID of the resource claim
    	ClaimUID types.UID
    
    	// ClaimName is a name of the resource claim
    	ClaimName string
    
    	// Namespace is a claim namespace
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	for i, claim = range claimsToProvision {
    		logger.V(5).Info("Updating claims objects to trigger volume provisioning", "pod", klog.KObj(pod), "PVC", klog.KObj(claim))
    		newClaim, err := b.kubeClient.CoreV1().PersistentVolumeClaims(claim.Namespace).Update(ctx, claim, metav1.UpdateOptions{})
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      // VendorClassParameters are the per-claim configuration parameters
      // from the resource class at the time that the claim was allocated.
      //
      // +optional
      optional .k8s.io.apimachinery.pkg.runtime.RawExtension vendorClassParameters = 1;
    
      // VendorClaimParameters are the per-claim configuration parameters
      // from the resource claim parameters at the time that the claim was
      // allocated.
      //
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		}
    
    		switch {
    		case len(rule.Claim) > 0 && len(rule.Expression) > 0:
    			allErrs = append(allErrs, field.Invalid(fldPath, rule.Claim, "claim and expression can't both be set"))
    		case len(rule.Claim) == 0 && len(rule.Expression) == 0:
    			allErrs = append(allErrs, field.Required(fldPath, "claim or expression is required"))
    		case len(rule.Claim) > 0:
    			if len(rule.Message) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/dra/claiminfo_test.go

    	className := "test-class"
    	driverName := "test-plugin"
    	claimUID := types.UID("claim-uid")
    	claimName := "test-claim"
    
    	for _, test := range []struct {
    		description    string
    		claim          *resourcev1alpha2.ResourceClaim
    		expectedResult *ClaimInfo
    	}{
    		{
    			description: "successfully created object",
    			claim: &resourcev1alpha2.ResourceClaim{
    				ObjectMeta: metav1.ObjectMeta{
    					UID:       claimUID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    	// If claim user info is enabled, get claims from userInfo
    	// and overwrite them with the claims from JWT.
    	if ok && pCfg.ClaimUserinfo {
    		if accessToken == "" {
    			return errors.New("access_token is mandatory if user_info claim is enabled")
    		}
    		uclaims, err := pCfg.UserInfo(ctx, accessToken, r.transport)
    		if err != nil {
    			return err
    		}
    		for k, v := range uclaims {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_control_test.go

    		if !podInOrdinalRange(pod, set) {
    			if !hasOwnerRef(claim, pod) || hasOwnerRef(claim, set) {
    				return fmt.Errorf("condemned claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		} else {
    			if hasOwnerRef(claim, pod) || !hasOwnerRef(claim, set) {
    				return fmt.Errorf("live claim %s has bad owner refs: %v", claim.Name, claim.GetOwnerReferences())
    			}
    		}
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    	// metadata map
    	claims[expClaim] = UTCNow().Add(time.Duration(expiry) * time.Second).Unix()
    	claims[subClaim] = parentUser
    	claims[roleArnClaim] = roleArn.String()
    	claims[parentClaim] = parentUser
    
    	// Add all other claims from the plugin **without** replacing any
    	// existing claims.
    	for k, v := range res.Success.Claims {
    		if _, ok := claims[k]; !ok {
    			claims[k] = v
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  10. cmd/bucket-policy.go

    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    	if grpsVal, ok := claims["groups"]; ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top