Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PodFSGroupChangePolicy (0.37 sec)

  1. pkg/volume/volume_unsupported.go

    */
    
    package volume
    
    import (
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    func SetVolumeOwnership(mounter Mounter, dir string, fsGroup *int64, fsGroupChangePolicy *v1.PodFSGroupChangePolicy, completeFunc func(types.CompleteFuncParam)) error {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 886 bytes
    - Viewed (0)
  2. pkg/volume/volume_linux.go

    // fsGroup, and sets SetGid so that newly created files are owned by
    // fsGroup. If fsGroup is nil nothing is done.
    func SetVolumeOwnership(mounter Mounter, dir string, fsGroup *int64, fsGroupChangePolicy *v1.PodFSGroupChangePolicy, completeFunc func(types.CompleteFuncParam)) error {
    	if fsGroup == nil {
    		return nil
    	}
    
    	timer := time.AfterFunc(30*time.Second, func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go

    	Sysctls                  []SysctlApplyConfiguration                       `json:"sysctls,omitempty"`
    	FSGroupChangePolicy      *corev1.PodFSGroupChangePolicy                   `json:"fsGroupChangePolicy,omitempty"`
    	SeccompProfile           *SeccompProfileApplyConfiguration                `json:"seccompProfile,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/volume/fc/disk_manager.go

    }
    
    // utility to mount a disk based filesystem
    func diskSetUp(manager diskManager, b fcDiskMounter, volPath string, mounter mount.Interface, fsGroup *int64, fsGroupChangePolicy *v1.PodFSGroupChangePolicy) error {
    	globalPDPath := manager.MakeGlobalPDName(*b.fcDisk)
    	noMnt, err := mounter.IsLikelyNotMountPoint(volPath)
    
    	if err != nil && !os.IsNotExist(err) {
    		klog.Errorf("cannot validate mountpoint: %s", volPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/disk_manager.go

    func diskSetUp(manager diskManager, b iscsiDiskMounter, volPath string, mounter mount.Interface, fsGroup *int64, fsGroupChangePolicy *v1.PodFSGroupChangePolicy) error {
    	notMnt, err := mounter.IsLikelyNotMountPoint(volPath)
    	if err != nil && !os.IsNotExist(err) {
    		klog.Errorf("cannot validate mountpoint: %s", volPath)
    		return err
    	}
    	if !notMnt {
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top