Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,094 for projected (0.14 sec)

  1. pkg/volume/projected/projected.go

    	return nil
    }
    
    func getVolumeSource(spec *volume.Spec) (*v1.ProjectedVolumeSource, bool, error) {
    	if spec.Volume != nil && spec.Volume.Projected != nil {
    		return spec.Volume.Projected, spec.ReadOnly, nil
    	}
    
    	return nil, false, fmt.Errorf("Spec does not reference a projected volume type")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. pkg/api/v1/pod/util.go

    			if source.FlexVolume.SecretRef != nil && !visitor(source.FlexVolume.SecretRef.Name) {
    				return false
    			}
    		case source.Projected != nil:
    			for j := range source.Projected.Sources {
    				if source.Projected.Sources[j].Secret != nil {
    					if !visitor(source.Projected.Sources[j].Secret.Name) {
    						return false
    					}
    				}
    			}
    		case source.RBD != nil:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 17:18:04 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. pkg/api/pod/util.go

    			if source.FlexVolume.SecretRef != nil && !visitor(source.FlexVolume.SecretRef.Name) {
    				return false
    			}
    		case source.Projected != nil:
    			for j := range source.Projected.Sources {
    				if source.Projected.Sources[j].Secret != nil {
    					if !visitor(source.Projected.Sources[j].Secret.Name) {
    						return false
    					}
    				}
    			}
    		case source.RBD != nil:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/zz_generated.defaults.go

    		}
    		if a.VolumeSource.AzureDisk != nil {
    			SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk)
    		}
    		if a.VolumeSource.Projected != nil {
    			SetDefaults_ProjectedVolumeSource(a.VolumeSource.Projected)
    			for j := range a.VolumeSource.Projected.Sources {
    				b := &a.VolumeSource.Projected.Sources[j]
    				if b.DownwardAPI != nil {
    					for k := range b.DownwardAPI.Items {
    						c := &b.DownwardAPI.Items[k]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 14:49:26 UTC 2023
    - 37.8K bytes
    - Viewed (0)
  5. pkg/apis/extensions/v1beta1/zz_generated.defaults.go

    		}
    		if a.VolumeSource.AzureDisk != nil {
    			v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk)
    		}
    		if a.VolumeSource.Projected != nil {
    			v1.SetDefaults_ProjectedVolumeSource(a.VolumeSource.Projected)
    			for j := range a.VolumeSource.Projected.Sources {
    				b := &a.VolumeSource.Projected.Sources[j]
    				if b.DownwardAPI != nil {
    					for k := range b.DownwardAPI.Items {
    						c := &b.DownwardAPI.Items[k]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 09:07:02 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  6. pkg/apis/batch/v1beta1/zz_generated.defaults.go

    		}
    		if a.VolumeSource.AzureDisk != nil {
    			v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk)
    		}
    		if a.VolumeSource.Projected != nil {
    			v1.SetDefaults_ProjectedVolumeSource(a.VolumeSource.Projected)
    			for j := range a.VolumeSource.Projected.Sources {
    				b := &a.VolumeSource.Projected.Sources[j]
    				if b.DownwardAPI != nil {
    					for k := range b.DownwardAPI.Items {
    						c := &b.DownwardAPI.Items[k]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 20:39:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. pkg/volume/projected/projected_test.go

    		t.Errorf("Got a nil Mounter")
    	}
    
    	podMetadataDir := fmt.Sprintf("%v/pods/test_pod_uid3/plugins/kubernetes.io~projected/test_volume_name", rootDir)
    	util.SetReady(podMetadataDir)
    	volumePath := mounter.GetPath()
    	if !strings.HasSuffix(volumePath, filepath.FromSlash("pods/test_pod_uid3/volumes/kubernetes.io~projected/test_volume_name")) {
    		t.Errorf("Got unexpected path: %s", volumePath)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  8. pkg/api/v1/pod/util_test.go

    							Name: "Spec.Volumes[*].VolumeSource.FlexVolume.SecretRef"}}}}, {
    				VolumeSource: v1.VolumeSource{
    					Projected: &v1.ProjectedVolumeSource{
    						Sources: []v1.VolumeProjection{{
    							Secret: &v1.SecretProjection{
    								LocalObjectReference: v1.LocalObjectReference{
    									Name: "Spec.Volumes[*].VolumeSource.Projected.Sources[*].Secret"}}}}}}}, {
    				VolumeSource: v1.VolumeSource{
    					RBD: &v1.RBDVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inject/list.yaml.injected

                  path: labels
                - fieldRef:
                    fieldPath: metadata.annotations
                  path: annotations
              name: istio-podinfo
            - name: istio-token
              projected:
                sources:
                - serviceAccountToken:
                    audience: istio-ca
                    expirationSeconds: 43200
                    path: istio-token
            - configMap:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/hello-multi.yaml.injected

                path: labels
              - fieldRef:
                  fieldPath: metadata.annotations
                path: annotations
            name: istio-podinfo
          - name: istio-token
            projected:
              sources:
              - serviceAccountToken:
                  audience: istio-ca
                  expirationSeconds: 43200
                  path: istio-token
          - configMap:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top