Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for selinuxRelabel (0.25 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/volume/iscsi/attacher.go

    	if err != nil {
    		return err
    	}
    
    	options := []string{}
    	if readOnly {
    		options = append(options, "ro")
    	}
    	if mountArgs.SELinuxLabel != "" {
    		options = volumeutil.AddSELinuxMountOption(options, mountArgs.SELinuxLabel)
    	}
    	if notMnt {
    		diskMounter := &mount.SafeFormatAndMount{Interface: mounter, Exec: attacher.host.GetExec(iscsiPluginName)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:31 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  8. pkg/volume/fc/attacher.go

    	if err != nil {
    		return err
    	}
    
    	options := []string{}
    	if readOnly {
    		options = append(options, "ro")
    	}
    	if mountArgs.SELinuxLabel != "" {
    		options = volumeutil.AddSELinuxMountOption(options, mountArgs.SELinuxLabel)
    	}
    	if notMnt {
    		diskMounter := &mount.SafeFormatAndMount{Interface: mounter, Exec: attacher.host.GetExec(fcPluginName)}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top