Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for fsGroup (0.34 sec)

  1. pkg/volume/csi/csi_mounter.go

    	}
    
    	if driverSupportsCSIVolumeMountGroup {
    		klog.V(3).Infof("Driver %s supports applying FSGroup (has VOLUME_MOUNT_GROUP node capability). Delegating FSGroup application to the driver through NodePublishVolume.", c.driverName)
    		nodePublishFSGroupArg = mounterArgs.FsGroup
    	}
    
    	var selinuxLabelMount bool
    	if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/volume/projected/projected_test.go

    			},
    		},
    		{
    			name:        "fsGroup != nil",
    			defaultMode: utilptr.Int32Ptr(0644),
    			fsGroup:     utilptr.Int64Ptr(1000),
    			path:        "token",
    			wantPayload: map[string]util.FileProjection{
    				"token": {
    					Data: []byte("test_projected_namespace:foo:3600:[https://api]"),
    					Mode: 0600,
    				},
    			},
    		},
    		{
    			name:        "fsUser != nil && fsGroup != nil",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  6. helm/minio/templates/post-job.yaml

          securityContext:
            runAsUser: {{ .Values.postJob.securityContext.runAsUser }}
            runAsGroup: {{ .Values.postJob.securityContext.runAsGroup }}
            fsGroup: {{ .Values.postJob.securityContext.fsGroup }}
          {{- end }}
          volumes:
            - name: etc-path
              emptyDir: {}
            - name: tmp
              emptyDir: {}
            - name: minio-configuration
              projected:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jul 08 19:18:31 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/apis/storage/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: Wed Dec 13 20:24:57 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  10. 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)
Back to top