Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for claims0 (0.11 sec)

  1. pkg/controller/volume/persistentvolume/binder_test.go

    			// volume.Spec.ClaimRef.UID. Check that the claim is marked as lost.
    			name:            "3-4 - bound claim with prebound volume",
    			initialVolumes:  newVolumeArray("volume3-4", "10Gi", "claim3-4-x", "claim3-4", v1.VolumeAvailable, v1.PersistentVolumeReclaimRetain, classEmpty),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		{
    			name: "duplicate claim",
    			in: []api.ClaimValidationRule{
    				{Claim: "claim"},
    				{Claim: "claim"},
    			},
    			structuredAuthnFeatureEnabled: true,
    			want:                          `issuer.claimValidationRules[1].claim: Duplicate value: "claim"`,
    		},
    		{
    			name: "duplicate expression",
    			in: []api.ClaimValidationRule{
    				{Expression: "claims.foo == 'bar'"},
    				{Expression: "claims.foo == 'bar'"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/pv_controller.go

    					claimMsg := fmt.Sprintf("volume %q already bound to a different claim.", volume.Name)
    					ctrl.eventRecorder.Event(claim, v1.EventTypeWarning, events.FailedBinding, claimMsg)
    
    					return fmt.Errorf("invalid binding of claim %q to volume %q: volume already claimed by %q", claimToClaimKey(claim), claim.Spec.VolumeName, claimrefToClaimKey(volume.Spec.ClaimRef))
    				}
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		t.Errorf("In-flight claims are different (- expected, + actual):\n%s", diff)
    	}
    }
    
    func (tc *testContext) listAll(t *testing.T) (objects []metav1.Object) {
    	t.Helper()
    	claims, err := tc.client.ResourceV1alpha2().ResourceClaims("").List(tc.ctx, metav1.ListOptions{})
    	require.NoError(t, err, "list claims")
    	for _, claim := range claims.Items {
    		claim := claim
    		objects = append(objects, &claim)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.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. cmd/iam.go

    		}
    
    		// Finally, if there is no parent policy, check if a policy claim is
    		// present in the session token.
    		if len(policies) == 0 {
    			// If there is no parent policy mapping, we fall back to
    			// using policy claim from JWT.
    			policySet, ok := args.GetPolicies(iamPolicyClaimNameOpenID())
    			if !ok {
    				// When claims are set, it should have a policy claim field.
    				return false
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    		claim = claim.DeepCopy()
    		claim.Finalizers = append(claim.Finalizers, resourcev1alpha2.Finalizer)
    		claim.Status.DriverName = driverName
    		claim.Status.Allocation = allocation
    		pl.inFlightAllocations.Store(claim.UID, claim)
    		logger.V(5).Info("Reserved resource in allocation result", "claim", klog.KObj(claim), "driver", driverName, "allocation", klog.Format(allocation))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    		// In case of LDAP/OIDC we need to set `opts.claims` to ensure
    		// it is associated with the LDAP/OIDC user properly.
    		for k, v := range cred.Claims {
    			if k == expClaim {
    				continue
    			}
    			opts.claims[k] = v
    		}
    	} else if globalIAMSys.LDAPConfig.Enabled() {
    		// In case of LDAP we need to resolve the targetUser to a DN and
    		// query their groups:
    		opts.claims[ldapUserN] = targetUser // simple username
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.json

              }
            ],
            "resources": {
              "limits": {
                "limitsKey": "0"
              },
              "requests": {
                "requestsKey": "0"
              },
              "claims": [
                {
                  "name": "nameValue"
                }
              ]
            },
            "resizePolicy": [
              {
                "resourceName": "resourceNameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 52K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.json

              }
            ],
            "resources": {
              "limits": {
                "limitsKey": "0"
              },
              "requests": {
                "requestsKey": "0"
              },
              "claims": [
                {
                  "name": "nameValue"
                }
              ]
            },
            "resizePolicy": [
              {
                "resourceName": "resourceNameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 50.7K bytes
    - Viewed (0)
Back to top