Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for fsGroup (0.14 sec)

  1. pkg/volume/csi/csi_client_test.go

    		}
    	} else {
    		mountVolume := &csipbv1.VolumeCapability_MountVolume{
    			FsType:     fsType,
    			MountFlags: mountOptions,
    		}
    		if fsGroup != nil {
    			mountVolume.VolumeMountGroup = strconv.FormatInt(*fsGroup, 10 /* base */)
    		}
    		req.VolumeCapability.AccessType = &csipbv1.VolumeCapability_Mount{
    			Mount: mountVolume,
    		}
    	}
    
    	_, err := c.nodeClient.NodePublishVolume(ctx, req)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. pkg/volume/projected/projected.go

    				payload[k] = v
    			}
    		case source.ServiceAccountToken != nil:
    			tp := source.ServiceAccountToken
    
    			// When FsGroup is set, we depend on SetVolumeOwnership to
    			// change from 0600 to 0640.
    			mode := *s.source.DefaultMode
    			if mounterArgs.FsUser != nil || mounterArgs.FsGroup != nil {
    				mode = 0600
    			}
    
    			var auds []string
    			if len(tp.Audience) != 0 {
    				auds = []string{tp.Audience}
    			}
    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/volume.go

    	// owned and writable by FsUser. Otherwise, there is no side effects.
    	// 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.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. pkg/volume/local/local.go

    	}
    	refs, err := m.mounter.GetMountRefs(m.globalPath)
    	if mounterArgs.FsGroup != nil {
    		if err != nil {
    			klog.Errorf("cannot collect mounting information: %s %v", m.globalPath, err)
    			return err
    		}
    
    		// Only count mounts from other pods
    		refs = m.filterPodMounts(refs)
    		if len(refs) > 0 {
    			fsGroupNew := int64(*mounterArgs.FsGroup)
    			_, fsGroupOld, err := m.hostUtil.GetOwner(m.globalPath)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. helm/minio/templates/statefulset.yaml

          securityContext:
            runAsUser: {{ .Values.securityContext.runAsUser }}
            runAsGroup: {{ .Values.securityContext.runAsGroup }}
            fsGroup: {{ .Values.securityContext.fsGroup }}
            {{- if and (ge .Capabilities.KubeVersion.Major "1") (ge .Capabilities.KubeVersion.Minor "20") }}
            fsGroupChangePolicy: {{ .Values.securityContext.fsGroupChangePolicy }}
            {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/storage/v1/types.go

    	// to determine if the volume ownership and permissions
    	// should be modified. If a fstype is defined and the volume's access mode
    	// contains ReadWriteOnce, then the defined fsGroup will be applied.
    	// This mode should be defined if it's expected that the
    	// fsGroup may need to be modified depending on the pod's SecurityPolicy.
    	// This is the default behavior if no other FSGroupPolicy is defined.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. helm-releases/minio-5.2.0.tgz

    false allowPrivilegeEscala: true allowPrivilegedConta: false allowedCapabilities: [] readOnlyRootFilesyst: false defaultAddCapabiliti: [] requiredDropCapabili: - KILL - MKNOD - SETUID - SETGID fsGroup: type: MustRunAs ranges: - max: {{ .Values.securityContext.fsGroup }} min: {{ .Values.securityContext.fsGroup }} runAsUser: type: MustRunAs uid: {{ .Values.securityContext.runAsUser }} seLinuxContext: type: MustRunAs supplementalGroups: type: RunAsAny volumes: - configMap - downwardAPI - emptyDir - persistentVolumeClai...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    		if err != nil {
    			return nil, err
    		}
    		lc.SecurityContext.NamespaceOptions = namespaceOptions
    
    		if sc.FSGroup != nil && runtime.GOOS != "windows" {
    			lc.SecurityContext.SupplementalGroups = append(lc.SecurityContext.SupplementalGroups, int64(*sc.FSGroup))
    		}
    		if groups := m.runtimeHelper.GetExtraSupplementalGroupsForPod(pod); len(groups) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. helm/minio/values.yaml

    ## user and group NOTE: securityContext is only enabled if persistence.enabled=true
    securityContext:
      enabled: true
      runAsUser: 1000
      runAsGroup: 1000
      fsGroup: 1000
      fsGroupChangePolicy: "OnRootMismatch"
      readOnlyRootFilesystem: false
    
    # Additational pod annotations
    podAnnotations: {}
    
    # Additional pod labels
    podLabels: {}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. pkg/volume/downwardapi/downwardapi.go

    		// change the permissions on the whole volume and not only in the timestamp directory.
    		return volume.SetVolumeOwnership(b, dir, mounterArgs.FsGroup, nil /*fsGroupChangePolicy*/, volumeutil.FSGroupCompleteHook(b.plugin, nil))
    	}
    	err = writer.Write(data, setPerms)
    	if err != nil {
    		klog.Errorf("Error writing payload to dir: %v", err)
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top