Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 907 for claims0 (0.32 sec)

  1. security/tools/jwt/sa-jwt.py

                            help="iss claim. This should be your service account email.")
        parser.add_argument("-aud", "--aud",
                            help="aud claim. This is comma-separated-list of audiences")
        parser.add_argument("-sub", "--sub",
                            help="sub claim. If not provided, it is set to the same as iss claim.")
        parser.add_argument("-claims", "--claims",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumebinding/binder.go

    func (b *volumeBinder) revertAssumedPVCs(claims []*v1.PersistentVolumeClaim) {
    	for _, claim := range claims {
    		b.pvcCache.Restore(getPVCName(claim))
    	}
    }
    
    // hasEnoughCapacity checks whether the provisioner has enough capacity left for a new volume of the given size
    // that is available from the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_test.go

    				if hasNamedOwnerRef(claim, podName) || hasNamedOwnerRef(claim, set.Name) {
    					t.Errorf("bad claim ownerRefs: %s: %v", claim.Name, claim.GetOwnerReferences())
    				}
    			case scaledownPolicy == retain && deletionPolicy == delete:
    				if hasNamedOwnerRef(claim, podName) || !hasNamedOwnerRef(claim, set.Name) {
    					t.Errorf("bad claim ownerRefs: %s: %v", claim.Name, claim.GetOwnerReferences())
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. 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)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    	set := apps.StatefulSet{}
    	set.Name = "my-set"
    	claim := v1.PersistentVolumeClaim{}
    	claim.Name = "volume-my-set-2"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-2" {
    		t.Errorf("Expected my-set-2 found %s", pod)
    	}
    	claim.Name = "long-volume-my-set-20"
    	if pod := getClaimPodName(&set, &claim); pod != "my-set-20" {
    		t.Errorf("Expected my-set-20 found %s", pod)
    	}
    	claim.Name = "volume-2-my-set"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. pkg/serviceaccount/legacy.go

    	}
    	namespace := private.Namespace
    	if len(namespace) == 0 {
    		return nil, errors.New("namespace claim is missing")
    	}
    	secretName := private.SecretName
    	if len(secretName) == 0 {
    		return nil, errors.New("secretName claim is missing")
    	}
    	serviceAccountName := private.ServiceAccountName
    	if len(serviceAccountName) == 0 {
    		return nil, errors.New("serviceAccountName claim is missing")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 08:32:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. pkg/controller/resourceclaim/controller.go

    				logger.V(5).Info("pod for claim not found", "claim", klog.KObj(claim), "pod", klog.KRef(claim.Namespace, podName))
    			default:
    				return fmt.Errorf("lookup pod: %v", err)
    			}
    		} else {
    			logger.V(5).Info("claim not generated for a pod", "claim", klog.KObj(claim))
    		}
    	}
    
    	return nil
    }
    
    func owningPod(claim *resourcev1alpha2.ResourceClaim) (string, types.UID) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. security/pkg/util/jwtutil.go

    	if err != nil {
    		return nil, err
    	}
    	dec := json.NewDecoder(bytes.NewBuffer(claimBytes))
    
    	claims := make(map[string]any)
    	if err := dec.Decode(&claims); err != nil {
    		return nil, fmt.Errorf("failed to decode the JWT claims")
    	}
    	return claims, nil
    }
    
    func DecodeJwtPart(seg string) ([]byte, error) {
    	if l := len(seg) % 4; l > 0 {
    		seg += strings.Repeat("=", 4-l)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/volume/persistentvolume/pv_controller_base.go

    func (ctrl *PersistentVolumeController) deleteClaim(ctx context.Context, claim *v1.PersistentVolumeClaim) {
    	logger := klog.FromContext(ctx)
    	if err := ctrl.claims.Delete(claim); err != nil {
    		logger.Error(err, "Claim deletion encountered", "PVC", klog.KObj(claim))
    	}
    	claimKey := claimToClaimKey(claim)
    	logger.V(4).Info("Claim deleted", "PVC", klog.KObj(claim))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top