Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 123 for claim (0.07 sec)

  1. 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)
  2. pkg/controller/statefulset/stateful_pod_control.go

    				updateClaimOwnerRefForSetAndPod(logger, claim, set, pod)
    				if err := spc.objectMgr.UpdateClaim(claim); err != nil {
    					return fmt.Errorf("could not update claim %s for delete policy ownerRefs: %w", claimName, err)
    				}
    			}
    		}
    	}
    	return nil
    }
    
    // PodClaimIsStale returns true for a stale PVC that should block pod creation. If the scaling
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/volume_manager_test.go

    	}
    	defer os.RemoveAll(tmpDir)
    	podManager := kubepod.NewBasicPodManager()
    
    	node, pod, pv, claim := createObjects(v1.PersistentVolumeFilesystem, v1.PersistentVolumeFilesystem)
    	claim.Status = v1.PersistentVolumeClaimStatus{
    		Phase: v1.ClaimPending,
    	}
    
    	kubeClient := fake.NewSimpleClientset(node, pod, pv, claim)
    
    	manager := newTestVolumeManager(t, tmpDir, podManager, kubeClient, node)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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. internal/config/identity/openid/openid.go

    			p.DiscoveryDoc.ScopesSupported = scopes
    		}
    
    		// Check if claim name is the non-default value and role policy is set.
    		if p.ClaimName != policy.PolicyName && p.RolePolicy != "" {
    			// In the unlikely event that the user specifies
    			// `policy.PolicyName` as the claim name explicitly and sets
    			// a role policy, this check is thwarted, but we will be using
    			// the role policy anyway.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top