Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for selinuxRelabel (0.27 sec)

  1. pkg/volume/volume.go

    	// need to fill it.
    	Message *string
    }
    
    // Attributes represents the attributes of this mounter.
    type Attributes struct {
    	ReadOnly       bool
    	Managed        bool
    	SELinuxRelabel bool
    }
    
    // MounterArgs provides more easily extensible arguments to Mounter
    type MounterArgs struct {
    	// When FsUser is set, the ownership of the volume will be modified to be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. pkg/volume/projected/projected.go

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

    var _ volume.Mounter = &portworxVolumeMounter{}
    
    func (b *portworxVolumeMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       b.readOnly,
    		Managed:        !b.readOnly,
    		SELinuxRelabel: false,
    	}
    }
    
    // SetUp attaches the disk and bind mounts to the volume path.
    func (b *portworxVolumeMounter) 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
    - 13.6K bytes
    - Viewed (0)
  4. pkg/volume/hostpath/host_path.go

    }
    
    var _ volume.Mounter = &hostPathMounter{}
    
    func (b *hostPathMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       b.readOnly,
    		Managed:        false,
    		SELinuxRelabel: false,
    	}
    }
    
    // SetUp does nothing.
    func (b *hostPathMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	err := validation.ValidatePathNoBacksteps(b.GetPath())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi.go

    }
    
    var _ volume.Mounter = &iscsiDiskMounter{}
    
    func (b *iscsiDiskMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       b.readOnly,
    		Managed:        !b.readOnly,
    		SELinuxRelabel: !b.mountedWithSELinuxContext,
    	}
    }
    
    func (b *iscsiDiskMounter) 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
    - 23.4K bytes
    - Viewed (0)
  6. pkg/volume/fc/fc.go

    }
    
    var _ volume.Mounter = &fcDiskMounter{}
    
    func (b *fcDiskMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       b.readOnly,
    		Managed:        !b.readOnly,
    		SELinuxRelabel: !b.mountedWithSELinuxContext,
    	}
    }
    
    func (b *fcDiskMounter) 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
    - 17.4K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_mounter.go

    		if err != nil {
    			return errors.New(log("failed to query for SELinuxMount support: %s", err))
    		}
    		if support && mounterArgs.SELinuxLabel != "" {
    			mountOptions = util.AddSELinuxMountOption(mountOptions, mounterArgs.SELinuxLabel)
    			selinuxLabelMount = true
    		}
    	}
    
    	// Save volume info in pod dir
    	// persist volume info data for teardown
    	nodeName := string(c.plugin.host.GetNodeName())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (1)
  8. pkg/kubelet/cm/devicemanager/pod_devices.go

    				Name:          mount.ContainerPath,
    				ContainerPath: mount.ContainerPath,
    				HostPath:      mount.HostPath,
    				ReadOnly:      mount.ReadOnly,
    				// TODO: This may need to be part of Device plugin API.
    				SELinuxRelabel: false,
    			})
    		}
    
    		// Updates for Annotations
    		for k, v := range resp.Annotations {
    			if e, ok := annotationsMap[k]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. pkg/volume/emptydir/empty_dir.go

    	plugin        *emptyDirPlugin
    	volume.MetricsProvider
    }
    
    func (ed *emptyDir) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       false,
    		Managed:        true,
    		SELinuxRelabel: true,
    	}
    }
    
    // SetUp creates new directory.
    func (ed *emptyDir) SetUp(mounterArgs volume.MounterArgs) error {
    	return ed.SetUpAt(ed.GetPath(), mounterArgs)
    }
    
    // SetUpAt creates new directory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. pkg/volume/local/local.go

    }
    
    var _ volume.Mounter = &localVolumeMounter{}
    
    func (m *localVolumeMounter) GetAttributes() volume.Attributes {
    	return volume.Attributes{
    		ReadOnly:       m.readOnly,
    		Managed:        !m.readOnly,
    		SELinuxRelabel: true,
    	}
    }
    
    // SetUp bind mounts the directory to the volume path
    func (m *localVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	return m.SetUpAt(m.GetPath(), mounterArgs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top