Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for SecretReference (0.25 sec)

  1. pkg/api/v1/persistentvolume/util_test.go

    				CephFS: &corev1.CephFSPersistentVolumeSource{
    					SecretRef: &corev1.SecretReference{
    						Name: "Spec.PersistentVolumeSource.CephFS.SecretRef"}}}}},
    		{Spec: corev1.PersistentVolumeSpec{
    			PersistentVolumeSource: corev1.PersistentVolumeSource{
    				Cinder: &corev1.CinderPersistentVolumeSource{
    					SecretRef: &corev1.SecretReference{
    						Name:      "Spec.PersistentVolumeSource.Cinder.SecretRef",
    						Namespace: "cinder"}}}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/expander_test.go

    			spec := volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "expandable", "test-vol"), false)
    			if tc.enableCSINodeExpandSecret {
    				spec.PersistentVolume.Spec.CSI.NodeExpandSecretRef = &api.SecretReference{
    					Name:      tc.secret.Name,
    					Namespace: tc.secret.Namespace,
    				}
    			}
    
    			newSize, _ := resource.ParseQuantity("20Gi")
    
    			resizeOptions := volume.NodeResizeOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi_test.go

    								TargetPortal: "127.0.0.1:3260",
    								IQN:          "iqn.2014-12.server:storage.target01",
    								FSType:       "ext4",
    								Lun:          0,
    								SecretRef: &v1.SecretReference{
    									Name:      "name",
    									Namespace: "ns",
    								},
    							},
    						},
    					},
    				},
    			},
    			expectedName:  "name",
    			expectedNs:    "ns",
    			expectedError: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.SecretReference)(nil), (*core.SecretReference)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_SecretReference_To_core_SecretReference(a.(*v1.SecretReference), b.(*core.SecretReference), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_util.go

    	// TestInformerSyncTimeout is informer timeout duration for testing
    	TestInformerSyncTimeout = 30 * time.Second
    )
    
    func getCredentialsFromSecret(k8s kubernetes.Interface, secretRef *api.SecretReference) (map[string]string, error) {
    	credentials := map[string]string{}
    	secret, err := k8s.CoreV1().Secrets(secretRef.Namespace).Get(context.TODO(), secretRef.Name, meta.GetOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 17:14:00 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_mounter.go

    		volAttribs         map[string]string
    		nodePublishSecrets map[string]string
    		publishContext     map[string]string
    		mountOptions       []string
    		deviceMountPath    string
    		secretRef          *api.SecretReference
    	)
    
    	switch {
    	case volSrc != nil:
    		if c.volumeLifecycleMode != storage.VolumeLifecycleEphemeral {
    			return fmt.Errorf("unexpected volume mode: %s", c.volumeLifecycleMode)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. pkg/apis/core/zz_generated.deepcopy.go

    func (in *SecretReference) DeepCopyInto(out *SecretReference) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
    func (in *SecretReference) DeepCopy() *SecretReference {
    	if in == nil {
    		return nil
    	}
    	out := new(SecretReference)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *SecretReference) DeepCopyInto(out *SecretReference) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
    func (in *SecretReference) DeepCopy() *SecretReference {
    	if in == nil {
    		return nil
    	}
    	out := new(SecretReference)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation_test.go

    	longSecretName := "key-name.example.com"
    	longSecretRef := &core.SecretReference{
    		Name:      longSecretName,
    		Namespace: "default",
    	}
    
    	// invalidSecrets missing name, namespace and both
    	inValidSecretRef := &core.SecretReference{
    		Name:      "",
    		Namespace: "",
    	}
    	invalidSecretRefmissingName := &core.SecretReference{
    		Name:      "",
    		Namespace: "default",
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    	for i := 0; i < opts.uniquePVCsPerPod; i++ {
    		pv := &corev1.PersistentVolume{}
    		pv.Name = fmt.Sprintf("pv%d-%s-%s", i, pod.Name, pod.Namespace)
    		pv.Spec.FlexVolume = &corev1.FlexPersistentVolumeSource{SecretRef: &corev1.SecretReference{Name: fmt.Sprintf("secret-%s", pv.Name)}}
    		pv.Spec.ClaimRef = &corev1.ObjectReference{Name: fmt.Sprintf("pvc%d-%s", i, pod.Name), Namespace: pod.Namespace}
    		pvs = append(pvs, pv)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top