Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for SELinuxMount (0.16 sec)

  1. 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)
  2. 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: &notRequiresRepublish,
    			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)
  3. 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)
  4. 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)
  5. pkg/apis/storage/v1/defaults.go

    	}
    	if obj.Spec.RequiresRepublish == nil {
    		obj.Spec.RequiresRepublish = new(bool)
    		*(obj.Spec.RequiresRepublish) = false
    	}
    	if obj.Spec.SELinuxMount == nil && utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) {
    		obj.Spec.SELinuxMount = new(bool)
    		*(obj.Spec.SELinuxMount) = false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 19:06:30 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. pkg/apis/storage/v1beta1/defaults.go

    	}
    	if obj.Spec.RequiresRepublish == nil {
    		obj.Spec.RequiresRepublish = new(bool)
    		*(obj.Spec.RequiresRepublish) = false
    	}
    	if obj.Spec.SELinuxMount == nil && utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) {
    		obj.Spec.SELinuxMount = new(bool)
    		*(obj.Spec.SELinuxMount) = false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 19:06:30 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. pkg/registry/storage/csidriver/storage/storage_test.go

    	requiresRepublish := true
    	storageCapacity := true
    	seLinuxMount := true
    	return &storageapi.CSIDriver{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    		},
    		Spec: storageapi.CSIDriverSpec{
    			AttachRequired:    &attachRequired,
    			PodInfoOnMount:    &podInfoOnMount,
    			RequiresRepublish: &requiresRepublish,
    			StorageCapacity:   &storageCapacity,
    			SELinuxMount:      &seLinuxMount,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 15:49:55 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. pkg/apis/storage/fuzzer/fuzzer.go

    			if len(obj.Spec.VolumeLifecycleModes) == 0 {
    				obj.Spec.VolumeLifecycleModes = []storage.VolumeLifecycleMode{
    					storage.VolumeLifecyclePersistent,
    				}
    			}
    			if obj.Spec.SELinuxMount == nil {
    				obj.Spec.SELinuxMount = new(bool)
    				*(obj.Spec.SELinuxMount) = false
    			}
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 13:32:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. pkg/registry/storage/csidriver/strategy.go

    	newCSIDriver := obj.(*storage.CSIDriver)
    	oldCSIDriver := old.(*storage.CSIDriver)
    
    	if oldCSIDriver.Spec.SELinuxMount == nil &&
    		!utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) {
    		newCSIDriver.Spec.SELinuxMount = nil
    	}
    
    	// Any changes to the spec increment the generation number.
    	if !apiequality.Semantic.DeepEqual(oldCSIDriver.Spec, newCSIDriver.Spec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 07:01:37 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. 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)
Back to top