Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for SetEnabled (0.32 sec)

  1. pkg/volume/hostpath/host_path.go

    	}
    	if len(r.options.PVC.Spec.AccessModes) == 0 {
    		pv.Spec.AccessModes = r.plugin.GetAccessModes()
    	}
    
    	if err := os.MkdirAll(pv.Spec.HostPath.Path, 0750); err != nil {
    		return nil, err
    	}
    	if selinux.GetEnabled() {
    		err := selinux.SetFileLabel(pv.Spec.HostPath.Path, config.KubeletContainersSharedSELinuxLabel)
    		if err != nil {
    			return nil, fmt.Errorf("failed to set selinux label for %q: %v", pv.Spec.HostPath.Path, err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. 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,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    		if err := os.MkdirAll(kl.getCheckpointsDir(), 0700); err != nil {
    			return fmt.Errorf("error creating checkpoint directory: %v", err)
    		}
    	}
    	if selinux.GetEnabled() {
    		err := selinux.SetFileLabel(pluginRegistrationDir, config.KubeletPluginsDirSELinuxLabel)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top