- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for selinuxRelabel (0.42 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_container.go
volumeMounts := []*runtimeapi.Mount{} for idx := range opts.Mounts { v := opts.Mounts[idx] selinuxRelabel := v.SELinuxRelabel && selinux.GetEnabled() mount := &runtimeapi.Mount{ HostPath: v.HostPath, ContainerPath: v.ContainerPath, Readonly: v.ReadOnly, SelinuxRelabel: selinuxRelabel, Propagation: v.Propagation, RecursiveReadOnly: v.RecursiveReadOnly, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/volume/testing/testing.go
volumeName = spec.Name() } return volumeName, nil } func (_ *FakeVolume) GetAttributes() volume.Attributes { return volume.Attributes{ ReadOnly: false, Managed: true, SELinuxRelabel: true, } } func (fv *FakeVolume) SetUp(mounterArgs volume.MounterArgs) error { fv.Lock() defer fv.Unlock() err := fv.setupInternal(mounterArgs) fv.SetUpCallCount++ return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
volumeSpec := &volume.Spec{Volume: &pod.Spec.Volumes[0]} podName := util.GetUniquePodName(pod) generatedVolumeName, err := dsw.AddPodToVolume( podName, pod, volumeSpec, volumeSpec.Name(), "" /* volumeGidValue */, nil /* seLinuxLabel */) // Assert if err != nil { t.Fatalf("AddPodToVolume failed. Expected: <no error> Actual: <%v>", err) } // Act runReconciler(reconciler)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
} // Mounter.SetUp() var mounterArgs volume.MounterArgs fsGroup := int64(2000) mounterArgs.FsGroup = &fsGroup if test.seLinuxLabel != "" { mounterArgs.SELinuxLabel = test.seLinuxLabel } expectedMountOptions := pv.Spec.MountOptions if test.expectedSELinuxContext != "" { expectedMountOptions = append(expectedMountOptions, test.expectedSELinuxContext)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0)