Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for selinuxRelabel (0.63 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top