Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 766 for claim (0.19 sec)

  1. pkg/apis/resource/v1alpha2/defaults_test.go

    	_ "k8s.io/kubernetes/pkg/apis/resource/install"
    )
    
    func TestSetDefaultAllocationMode(t *testing.T) {
    	claim := &v1alpha2.ResourceClaim{}
    
    	// field should be defaulted
    	defaultMode := v1alpha2.AllocationModeWaitForFirstConsumer
    	output := roundTrip(t, runtime.Object(claim)).(*v1alpha2.ResourceClaim)
    	outMode := output.Spec.AllocationMode
    	if outMode != defaultMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 06:52:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. plugin/pkg/admission/storage/storageclass/setdefault/admission_test.go

    			claimWithNoClass,
    			false,
    			classWithCreateTime1.Name,
    		},
    	}
    
    	for _, test := range tests {
    		klog.V(4).Infof("starting test %q", test.name)
    
    		// clone the claim, it's going to be modified
    		claim := test.claim.DeepCopy()
    
    		ctrl := newPlugin()
    		informerFactory := informers.NewSharedInformerFactory(nil, controller.NoResyncPeriodFunc())
    		ctrl.SetExternalKubeInformerFactory(informerFactory)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 19 04:00:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  3. docs/sts/README.md

    decode the id_token to access the payload of the token that includes following JWT claims, `policy` claim is mandatory and should be present as part of your JWT claim. Without this claim the generated credentials will not have access to any resources on the server, using these credentials application would receive 'Access Denied' errors.
    
    | Claim Name | Type                                              | Claim Value                                                                           ...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/recycle_test.go

    			// recycle success - volume bound by user is recycled, while a new
    			// claim is created with another UID.
    			name:            "6-9 - prebound volume is recycled while the claim exists",
    			initialVolumes:  newVolumeArray("volume6-9", "1Gi", "uid6-9", "claim6-9", v1.VolumeBound, v1.PersistentVolumeReclaimRecycle, classEmpty),
    			expectedVolumes: newVolumeArray("volume6-9", "1Gi", "", "claim6-9", v1.VolumeAvailable, v1.PersistentVolumeReclaimRecycle, classEmpty),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. pkg/apis/resource/install/install_test.go

    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	internal "k8s.io/kubernetes/pkg/apis/resource"
    )
    
    func TestResourceVersioner(t *testing.T) {
    	claim := internal.ResourceClaim{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "10"}}
    	version, err := meta.NewAccessor().ResourceVersion(&claim)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if version != "10" {
    		t.Errorf("unexpected version %v", version)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 06:52:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. internal/jwt/parser_test.go

    			var err error
    
    			// Figure out correct claims type
    			switch claims := data.claims.(type) {
    			case *MapClaims:
    				if data.tokenString == "" {
    					data.tokenString = mapClaimsToken(claims)
    				}
    				err = ParseWithClaims(data.tokenString, &MapClaims{}, data.keyfunc)
    			case *StandardClaims:
    				if data.tokenString == "" {
    					data.tokenString = standardClaimsToken(claims)
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. pkg/test/framework/components/namespace/namespace.go

    	IsAmbient() bool
    	IsInjected() bool
    }
    
    // Claim an existing namespace in all clusters, or create a new one if doesn't exist.
    func Claim(ctx resource.Context, cfg Config) (i Instance, err error) {
    	cfg.overwriteRevisionIfEmpty(ctx.Settings().Revisions.Default())
    	return claimKube(ctx, cfg)
    }
    
    // ClaimOrFail calls Claim and fails test if it returns error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 18:12:14 UTC 2023
    - 4.6K 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. docs/sts/keycloak.md

      - Save
    
    - Go to Clients
      - Click on `account`
      - Mappers
      - Create
        - `Name` with any text
        - `Mapper Type` is `User Attribute`
        - `User Attribute` is `policy`
        - `Token Claim Name` is `policy`
        - `Claim JSON Type` is `string`
      - Save
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  10. docs/sts/casdoor.md

    client_id     (string)    unique public identifier for apps e.g. "292085223830.apps.googleusercontent.com"
    claim_name    (string)    JWT canned policy claim name, defaults to "policy"
    claim_prefix  (string)    JWT claim namespace prefix e.g. "customer1/"
    scopes        (csv)       Comma separated list of OpenID scopes for server, defaults to advertised scopes from discovery document e.g. "email,admin"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
Back to top