- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for seLinuxMountContext (0.57 sec)
-
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
} func (asw *actualStateOfWorld) newAttachedVolume( attachedVolume *attachedVolume) AttachedVolume { seLinuxMountContext := "" if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { if attachedVolume.seLinuxMountContext != nil { seLinuxMountContext = *attachedVolume.seLinuxMountContext } } return AttachedVolume{ AttachedVolume: operationexecutor.AttachedVolume{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_common.go
OuterVolumeSpecName string `json:"outerVolumeSpecName"` PodUID string `json:"podUID"` VolumeGIDValue string `json:"volumeGIDValue"` DevicePath string `json:"devicePath"` SeLinuxMountContext string `json:"seLinuxMountContext"` }{ VolumeName: string(rv.volumeName), PodName: string(rv.podName), VolumeSpecName: rv.volumeSpec.Name(), OuterVolumeSpecName: rv.outerVolumeSpecName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_common.go
for _, mountedVolume := range rc.actualStateOfWorld.GetAllMountedVolumes() { if !rc.desiredStateOfWorld.PodExistsInVolume(mountedVolume.PodName, mountedVolume.VolumeName, mountedVolume.SELinuxMountContext) { // Volume is mounted, unmount it klog.V(5).InfoS(mountedVolume.GenerateMsgDetailed("Starting operationExecutor.UnmountVolume", "")) err := rc.operationExecutor.UnmountVolume(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_executor.go
MarkDeviceAsMounted(volumeName v1.UniqueVolumeName, devicePath, deviceMountPath, seLinuxMountContext string) error // MarkDeviceAsUncertain marks device state in global mount path as uncertain MarkDeviceAsUncertain(volumeName v1.UniqueVolumeName, devicePath, deviceMountPath, seLinuxMountContext string) error // Marks the specified volume as having its global mount unmounted.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 42.6K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world.go
// volumes that should be attached to this node. // If a pod with the same unique name does not exist under the specified // volume, false is returned. VolumeExists(volumeName v1.UniqueVolumeName, seLinuxMountContext string) bool // PodExistsInVolume returns true if the given pod exists in the list of // podsToMount for the given volume in the cache. // If a pod with the same unique name does not exist under the specified
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 27.1K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter.go
var ( volDataKey = struct { specVolID, volHandle, driverName, nodeName, attachmentID, volumeLifecycleMode, seLinuxMountContext string }{ "specVolID", "volumeHandle", "driverName", "nodeName", "attachmentID", "volumeLifecycleMode", "seLinuxMountContext", } ) type csiMountMgr struct { csiClientGetter k8s kubernetes.Interface plugin *csiPlugin
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 30 10:47:59 UTC 2024 - 21K bytes - Viewed (1) -
pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 46.3K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin.go
var ret volume.ReconstructedVolume if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { ret.SELinuxMountContext = volData[volDataKey.seLinuxMountContext] } // If mode is VolumeLifecycleEphemeral, use constructVolSourceSpec // to construct volume source spec. If mode is VolumeLifecyclePersistent,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/volume/fc/fc.go
fcVolume.VolumeSource.FC.TargetWWNs, *fcVolume.VolumeSource.FC.Lun, fcVolume.VolumeSource.FC.WWIDs) return volume.ReconstructedVolume{ Spec: volume.NewSpecFromVolume(fcVolume), SELinuxMountContext: mountContext, }, nil } // ConstructBlockVolumeSpec creates a new volume.Spec with following steps. // - Searches a file whose name is {pod uuid} under volume plugin directory.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/volume/csi/csi_plugin_test.go
} if rec.Spec.Name() != tc.specVolID { t.Errorf("Unexpected spec name constructed %s", rec.Spec.Name()) } if rec.SELinuxMountContext != tc.expectedSELinuxContext { t.Errorf("Expected SELinux context %q, got %q", tc.expectedSELinuxContext, rec.SELinuxMountContext) } }) } } func TestPluginConstructVolumeSpecWithInline(t *testing.T) { testCases := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.8K bytes - Viewed (0)