Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for selinuxRelabel (0.39 sec)

  1. pkg/kubelet/kubelet_pods_windows_test.go

    			ReadOnly:       false,
    			SELinuxRelabel: false,
    		},
    		{
    			Name:           "disk",
    			ContainerPath:  "c:/mnt/path3",
    			HostPath:       "c:/mnt/disk",
    			ReadOnly:       true,
    			SELinuxRelabel: false,
    		},
    		{
    			Name:           "disk4",
    			ContainerPath:  "c:/mnt/path4",
    			HostPath:       "c:/mnt/host",
    			ReadOnly:       false,
    			SELinuxRelabel: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_linux_test.go

    					HostPath:       "/mnt/disk",
    					ReadOnly:       false,
    					SELinuxRelabel: false,
    					Propagation:    runtimeapi.MountPropagation_PROPAGATION_HOST_TO_CONTAINER,
    				},
    				{
    					Name:           "disk",
    					ContainerPath:  "/mnt/path3",
    					HostPath:       "/mnt/disk",
    					ReadOnly:       true,
    					SELinuxRelabel: false,
    					Propagation:    runtimeapi.MountPropagation_PROPAGATION_PRIVATE,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 18:00:59 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/mounter-defaults.go

    	klog.V(5).Info(logPrefix(f.plugin), "using default GetAttributes")
    	return volume.Attributes{
    		ReadOnly:       f.readOnly,
    		Managed:        !f.readOnly,
    		SELinuxRelabel: f.flexVolume.plugin.capabilities.SELinuxRelabel,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 24 15:56:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. pkg/volume/flexvolume/driver-call.go

    	Attach           bool `json:"attach"`
    	SELinuxRelabel   bool `json:"selinuxRelabel"`
    	SupportsMetrics  bool `json:"supportsMetrics"`
    	FSGroup          bool `json:"fsGroup"`
    	RequiresFSResize bool `json:"requiresFSResize"`
    }
    
    func defaultCapabilities() *DriverCapabilities {
    	return &DriverCapabilities{
    		Attach:           true,
    		SELinuxRelabel:   true,
    		SupportsMetrics:  false,
    		FSGroup:          true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 02:39:55 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  5. 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)
  6. pkg/volume/git_repo/git_repo.go

    }
    
    var _ volume.Mounter = &gitRepoVolumeMounter{}
    
    func (b *gitRepoVolumeMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       false,
    		Managed:        true,
    		SELinuxRelabel: true, // xattr change should be okay, TODO: double check
    	}
    }
    
    // SetUp creates new directory and clones a git repo.
    func (b *gitRepoVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pkg/volume/configmap/configmap.go

    }
    
    var _ volume.Mounter = &configMapVolumeMounter{}
    
    func (sv *configMapVolume) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       true,
    		Managed:        true,
    		SELinuxRelabel: true,
    	}
    }
    
    func wrappedVolumeSpec() volume.Spec {
    	// This is the spec for the volume that this plugin wraps.
    	return volume.Spec{
    		// This should be on a tmpfs instead of the local disk; the problem is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. pkg/volume/nfs/nfs.go

    }
    
    var _ volume.Mounter = &nfsMounter{}
    
    func (nfsMounter *nfsMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       nfsMounter.readOnly,
    		Managed:        false,
    		SELinuxRelabel: false,
    	}
    }
    
    // SetUp attaches the disk and bind mounts to the volume path.
    func (nfsMounter *nfsMounter) SetUp(mounterArgs volume.MounterArgs) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. pkg/volume/secret/secret.go

    }
    
    var _ volume.Mounter = &secretVolumeMounter{}
    
    func (sv *secretVolume) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       true,
    		Managed:        true,
    		SELinuxRelabel: true,
    	}
    }
    
    func (b *secretVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	return b.SetUpAt(b.GetPath(), mounterArgs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. pkg/volume/downwardapi/downwardapi.go

    // downward API volumes are always ReadOnlyManaged
    func (d *downwardAPIVolume) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       true,
    		Managed:        true,
    		SELinuxRelabel: true,
    	}
    }
    
    // SetUp puts in place the volume plugin.
    // This function is not idempotent by design. We want the data to be refreshed periodically.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top