Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for PodFSGroupChangePolicy (0.63 sec)

  1. 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)
  2. pkg/volume/volume.go

    	// Currently only supported with projected service account tokens.
    	FsUser              *int64
    	FsGroup             *int64
    	FSGroupChangePolicy *v1.PodFSGroupChangePolicy
    	DesiredSize         *resource.Quantity
    	SELinuxLabel        string
    }
    
    // Mounter interface provides methods to set up/mount the volume.
    type Mounter interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. pkg/apis/core/types.go

    type Sysctl struct {
    	// Name of a property to set
    	Name string
    	// Value of a property to set
    	Value string
    }
    
    // PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume
    // when volume is mounted.
    type PodFSGroupChangePolicy string
    
    const (
    	// FSGroupChangeOnRootMismatch indicates that volume's ownership and permissions will be changed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_generator.go

    		if deviceMountableVolumePlugin != nil {
    			volumeDeviceMounter, _ = deviceMountableVolumePlugin.NewDeviceMounter()
    		}
    
    		var fsGroup *int64
    		var fsGroupChangePolicy *v1.PodFSGroupChangePolicy
    		if podSc := volumeToMount.Pod.Spec.SecurityContext; podSc != nil {
    			if podSc.FSGroup != nil {
    				fsGroup = podSc.FSGroup
    			}
    			if podSc.FSGroupChangePolicy != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/types.go

    	// +listType=atomic
    	Hostnames []string `json:"hostnames,omitempty" protobuf:"bytes,2,rep,name=hostnames"`
    }
    
    // PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume
    // when volume is mounted.
    // +enum
    type PodFSGroupChangePolicy string
    
    const (
    	// FSGroupChangeOnRootMismatch indicates that volume's ownership and permissions will be changed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/zz_generated.conversion.go

    	out.FSGroup = (*int64)(unsafe.Pointer(in.FSGroup))
    	out.Sysctls = *(*[]core.Sysctl)(unsafe.Pointer(&in.Sysctls))
    	out.FSGroupChangePolicy = (*core.PodFSGroupChangePolicy)(unsafe.Pointer(in.FSGroupChangePolicy))
    	out.SeccompProfile = (*core.SeccompProfile)(unsafe.Pointer(in.SeccompProfile))
    	out.AppArmorProfile = (*core.AppArmorProfile)(unsafe.Pointer(in.AppArmorProfile))
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  7. pkg/apis/core/zz_generated.deepcopy.go

    		in, out := &in.FSGroup, &out.FSGroup
    		*out = new(int64)
    		**out = **in
    	}
    	if in.FSGroupChangePolicy != nil {
    		in, out := &in.FSGroupChangePolicy, &out.FSGroupChangePolicy
    		*out = new(PodFSGroupChangePolicy)
    		**out = **in
    	}
    	if in.Sysctls != nil {
    		in, out := &in.Sysctls, &out.Sysctls
    		*out = make([]Sysctl, len(*in))
    		copy(*out, *in)
    	}
    	if in.SeccompProfile != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		*out = make([]Sysctl, len(*in))
    		copy(*out, *in)
    	}
    	if in.FSGroupChangePolicy != nil {
    		in, out := &in.FSGroupChangePolicy, &out.FSGroupChangePolicy
    		*out = new(PodFSGroupChangePolicy)
    		**out = **in
    	}
    	if in.SeccompProfile != nil {
    		in, out := &in.SeccompProfile, &out.SeccompProfile
    		*out = new(SeccompProfile)
    		(*in).DeepCopyInto(*out)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation.go

    	}
    	return allErrors
    }
    
    var validFSGroupChangePolicies = sets.New(core.FSGroupChangeOnRootMismatch, core.FSGroupChangeAlways)
    
    func validateFSGroupChangePolicy(fsGroupPolicy *core.PodFSGroupChangePolicy, fldPath *field.Path) field.ErrorList {
    	allErrors := field.ErrorList{}
    	if !validFSGroupChangePolicies.Has(*fsGroupPolicy) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    	maxUserID := int64(2147483647)
    	minGroupID := int64(0)
    	maxGroupID := int64(2147483647)
    	goodfsGroupChangePolicy := core.FSGroupChangeAlways
    	badfsGroupChangePolicy1 := core.PodFSGroupChangePolicy("invalid")
    	badfsGroupChangePolicy2 := core.PodFSGroupChangePolicy("")
    
    	successCases := map[string]core.PodSpec{
    		"populate basic fields, leave defaults for most": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top