Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for SELinuxMount (0.31 sec)

  1. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1.CSIDriver.json

        "fsGroupPolicy": "fsGroupPolicyValue",
        "tokenRequests": [
          {
            "audience": "audienceValue",
            "expirationSeconds": 2
          }
        ],
        "requiresRepublish": true,
        "seLinuxMount": true
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_util_test.go

    			VolumeLifecycleModes: volumeLifecycleModes,
    			FSGroupPolicy:        &defaultFSGroupPolicy,
    		},
    	}
    	switch driver.Name {
    	case "supports_selinux":
    		driver.Spec.SELinuxMount = &seLinuxMountSupport
    	case "no_selinux":
    		driver.Spec.SELinuxMount = &noSElinuxMountSupport
    	}
    	return driver
    }
    
    func TestSaveVolumeData(t *testing.T) {
    	plug, tmpDir := newTestPlugin(t, nil)
    	defer os.RemoveAll(tmpDir)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. pkg/apis/storage/validation/validation.go

    					string(storage.VolumeLifecycleEphemeral),
    				}))
    		}
    	}
    
    	return allErrs
    }
    
    // validateSELinuxMount tests if seLinuxMount is set for CSIDriver.
    func validateSELinuxMount(seLinuxMount *bool, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if seLinuxMount == nil && utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) {
    		allErrs = append(allErrs, field.Required(fldPath, ""))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storage/v1/zz_generated.deepcopy.go

    		}
    	}
    	if in.RequiresRepublish != nil {
    		in, out := &in.RequiresRepublish, &out.RequiresRepublish
    		*out = new(bool)
    		**out = **in
    	}
    	if in.SELinuxMount != nil {
    		in, out := &in.SELinuxMount, &out.SELinuxMount
    		*out = new(bool)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go

    		}
    	}
    	if in.RequiresRepublish != nil {
    		in, out := &in.RequiresRepublish, &out.RequiresRepublish
    		*out = new(bool)
    		**out = **in
    	}
    	if in.SELinuxMount != nil {
    		in, out := &in.SELinuxMount, &out.SELinuxMount
    		*out = new(bool)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  6. pkg/apis/storage/zz_generated.deepcopy.go

    		}
    	}
    	if in.RequiresRepublish != nil {
    		in, out := &in.RequiresRepublish, &out.RequiresRepublish
    		*out = new(bool)
    		**out = **in
    	}
    	if in.SELinuxMount != nil {
    		in, out := &in.SELinuxMount, &out.SELinuxMount
    		*out = new(bool)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  7. pkg/apis/storage/v1/zz_generated.conversion.go

    	out.TokenRequests = *(*[]storage.TokenRequest)(unsafe.Pointer(&in.TokenRequests))
    	out.RequiresRepublish = (*bool)(unsafe.Pointer(in.RequiresRepublish))
    	out.SELinuxMount = (*bool)(unsafe.Pointer(in.SELinuxMount))
    	return nil
    }
    
    // Convert_v1_CSIDriverSpec_To_storage_CSIDriverSpec is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 39.2K bytes
    - Viewed (0)
  8. pkg/apis/storage/v1beta1/zz_generated.conversion.go

    	out.TokenRequests = *(*[]storage.TokenRequest)(unsafe.Pointer(&in.TokenRequests))
    	out.RequiresRepublish = (*bool)(unsafe.Pointer(in.RequiresRepublish))
    	out.SELinuxMount = (*bool)(unsafe.Pointer(in.SELinuxMount))
    	return nil
    }
    
    // Convert_v1beta1_CSIDriverSpec_To_storage_CSIDriverSpec is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:01 UTC 2022
    - 41K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1beta1/types.go

    	//
    	// Default is "false".
    	//
    	// +featureGate=SELinuxMountReadWriteOncePod
    	// +optional
    	SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"`
    }
    
    // FSGroupPolicy specifies if a CSI Driver supports modifying
    // volume ownership and permissions of the volume to be mounted.
    // More modes may be added in the future.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:32 UTC 2023
    - 33.1K bytes
    - Viewed (0)
  10. pkg/volume/util/selinux.go

    	}
    	if volumeSpec.PersistentVolume == nil {
    		return false
    	}
    	if len(volumeSpec.PersistentVolume.Spec.AccessModes) != 1 {
    		return false
    	}
    	if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMount) {
    		return true
    	}
    	// Only SELinuxMountReadWriteOncePod feature enabled
    	if !v1helper.ContainsAccessMode(volumeSpec.PersistentVolume.Spec.AccessModes, v1.ReadWriteOncePod) {
    		return false
    	}
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 14:40:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top