- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for SELinuxMount (0.2 sec)
-
pkg/registry/storage/csidriver/strategy_test.go
RequiresRepublish: &enabled, SELinuxMount: &enabled, }, }, false, }, { "invalid SELinuxMount", &storage.CSIDriver{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", }, Spec: storage.CSIDriverSpec{ AttachRequired: &enabled, PodInfoOnMount: &enabled, StorageCapacity: &enabled, SELinuxMount: nil, }, }, true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/apis/storage/validation/validation_test.go
SELinuxMount: &seLinuxMount, }, }, { // driver name: numbers ObjectMeta: metav1.ObjectMeta{Name: "1csi2driver3"}, Spec: storage.CSIDriverSpec{ AttachRequired: &attachRequired, PodInfoOnMount: &podInfoOnMount, RequiresRepublish: ¬RequiresRepublish, StorageCapacity: &storageCapacity, SELinuxMount: &seLinuxMount, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
pkg/apis/storage/v1beta1/defaults_test.go
output := roundTrip(t, runtime.Object(driver)).(*storagev1beta1.CSIDriver) outSELinuxMount := output.Spec.SELinuxMount if outSELinuxMount == nil { t.Errorf("Expected SELinuxMount to be defaulted to: %+v, got: nil", defaultSELinuxMount) } else if *outSELinuxMount != defaultSELinuxMount { t.Errorf("Expected SELinuxMount to be defaulted to: %+v, got: %+v", defaultSELinuxMount, outSELinuxMount) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 6.4K bytes - Viewed (0) -
pkg/apis/storage/v1/defaults_test.go
output := roundTrip(t, runtime.Object(driver)).(*storagev1.CSIDriver) outSELinuxMount := output.Spec.SELinuxMount if outSELinuxMount == nil { t.Errorf("Expected SELinuxMount to be defaulted to: %+v, got: nil", defaultSELinuxMount) } else if *outSELinuxMount != defaultSELinuxMount { t.Errorf("Expected SELinuxMount to be defaulted to: %+v, got: %+v", defaultSELinuxMount, outSELinuxMount) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1beta1.CSIDriver.json
"fsGroupPolicy": "fsGroupPolicyValue", "tokenRequests": [ { "audience": "audienceValue", "expirationSeconds": 2 } ], "requiresRepublish": true, "seLinuxMount": true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1.CSIDriver.yaml
resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: attachRequired: true fsGroupPolicy: fsGroupPolicyValue podInfoOnMount: true requiresRepublish: true seLinuxMount: true storageCapacity: true tokenRequests: - audience: audienceValue expirationSeconds: 2 volumeLifecycleModes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1beta1.CSIDriver.yaml
resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: attachRequired: true fsGroupPolicy: fsGroupPolicyValue podInfoOnMount: true requiresRepublish: true seLinuxMount: true storageCapacity: true tokenRequests: - audience: audienceValue expirationSeconds: 2 volumeLifecycleModes:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.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: Thu Apr 18 08:52:25 UTC 2024 - 1.5K bytes - Viewed (0) -
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) -
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)